org.gcube.data.analysis.statisticalmanager.experimentspace.computation
Class ComputationResource
java.lang.Object
org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
org.gcube.common.core.state.GCUBEStatefulResource<org.gcube.common.core.state.GCUBEWSResourceKey>
org.gcube.common.core.state.GCUBEWSResource
org.gcube.data.analysis.statisticalmanager.experimentspace.computation.ComputationResource
- All Implemented Interfaces:
- org.gcube.common.core.utils.handlers.GCUBEServiceClient, org.globus.wsrf.PersistenceCallback, org.globus.wsrf.Resource, org.globus.wsrf.ResourceLifetime, org.globus.wsrf.ResourceProperties, org.globus.wsrf.TopicListAccessor
public class ComputationResource
- extends org.gcube.common.core.state.GCUBEWSResource
| Nested classes/interfaces inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
org.gcube.common.core.state.GCUBEStatefulResource.LOCK, org.gcube.common.core.state.GCUBEStatefulResource.TaskContext |
| Fields inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
logger, uuidGen |
| Methods inherited from class org.gcube.common.core.state.GCUBEWSResource |
getCurrentTime, getEPR, getPorttypeContext, getProperty, getPublisher, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, getTopicNames, initialise, initialiseContainers, inScope, load, publish, setPortTypeContext, setTerminationTime, unpublish |
| Methods inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
getID, getLock, getScheduledTasks, getScope, launchTask, onRemove, setID, setPersistenceDelegate, stopTask, store |
| Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl |
getPortTypeMap, setPortTypeMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.globus.wsrf.PersistenceCallback |
store |
ComputationResource
public ComputationResource()
cleanResourcesComputational
public void cleanResourcesComputational(org.gcube.dataanalysis.ecoengine.configuration.INFRASTRUCTURE compInf,
long computationId)
initialise
public void initialise(Object... args)
throws Exception
-
- Specified by:
initialise in class org.gcube.common.core.state.GCUBEWSResource
- Throws:
Exception
getPropertyNames
protected String[] getPropertyNames()
-
- Overrides:
getPropertyNames in class org.gcube.common.core.state.GCUBEWSResource
getFileManager
public static FileManager getFileManager()
getComputationalAgents
public ConcurrentHashMap<String,org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent> getComputationalAgents()
getListParameters
public List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getListParameters(org.gcube.data.analysis.statisticalmanager.stubs.SMAlgorithm algorithm)
throws Exception
- Throws:
Exception
executeComputation
public void executeComputation(org.gcube.data.analysis.statisticalmanager.stubs.SMComputationConfig computationConfig,
long computationId)
throws SMResourcesNotAvailableException
- Throws:
SMResourcesNotAvailableException
Copyright © 2012. All Rights Reserved.