org.gcube.data.analysis.statisticalmanager.experimentspace
Class ComputationFactoryResource
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.ComputationFactoryResource
- 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 ComputationFactoryResource
- extends org.gcube.common.core.state.GCUBEWSResource
- Author:
- gioia
| 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 |
uuidGen |
| Methods inherited from class org.gcube.common.core.state.GCUBEWSResource |
getCurrentTime, getEPR, getPorttypeContext, getProperty, getPropertyNames, 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 |
SERVICE
public static final String SERVICE
- See Also:
- Constant Field Values
MESSAGE_COMPUTATION_ID
public static final String MESSAGE_COMPUTATION_ID
- See Also:
- Constant Field Values
MESSAGE_SCOPE
public static final String MESSAGE_SCOPE
- See Also:
- Constant Field Values
MESSAGE_REQUEST
public static final String MESSAGE_REQUEST
- See Also:
- Constant Field Values
ComputationFactoryResource
public ComputationFactoryResource()
initialise
protected void initialise(Object... arg0)
throws Exception
- Specified by:
initialise in class org.gcube.common.core.state.GCUBEWSResource
- Throws:
Exception
createQueueConfig
public static org.gcube.data.access.queueManager.FactoryConfiguration createQueueConfig(String scope)
throws Exception
- Throws:
Exception
getLocalResourcesNeeded
public int getLocalResourcesNeeded(String algorithm,
String category)
setLocalResourcesAvailable
public int setLocalResourcesAvailable(String agentId,
String algorithm,
String category)
cleanLocalResourcesComputational
public void cleanLocalResourcesComputational(String genId)
getLocalResourcesFree
public int getLocalResourcesFree()
getConfigPath
public static String getConfigPath()
getListParameters
public List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getListParameters(String category,
String algorithmName)
throws Exception
- Throws:
Exception
getAgorithmDescription
public String getAgorithmDescription(String category,
String algorithmName)
throws Exception
- Throws:
Exception
setD4ScienceComputation
public boolean setD4ScienceComputation()
cleanD4ScienceComputation
public void cleanD4ScienceComputation()
getLocalComputation
public boolean getLocalComputation()
cleanLocalComputation
public void cleanLocalComputation()
Copyright © 2012. All Rights Reserved.