public class ComputationFactoryResource
extends org.gcube.common.core.state.GCUBEWSResource
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_COMPUTATION_ID |
static String |
MESSAGE_REQUEST |
static String |
MESSAGE_SCOPE |
static String |
SERVICE |
| Constructor and Description |
|---|
ComputationFactoryResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanD4ScienceComputation() |
void |
cleanLocalComputation() |
void |
cleanLocalResourcesComputational(String genId) |
static org.gcube.data.access.queueManager.FactoryConfiguration |
createQueueConfig(String scope) |
String |
getAgorithmDescription(String category,
String algorithmName) |
static String |
getConfigPath() |
org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType |
getListOutput(String category,
String algorithmName) |
List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> |
getListParameters(String category,
String algorithmName) |
boolean |
getLocalComputation() |
int |
getLocalResourcesFree() |
int |
getLocalResourcesNeeded(String algorithm,
String category) |
protected void |
initialise(Object... arg0) |
boolean |
setD4ScienceComputation() |
int |
setLocalResourcesAvailable(String agentId,
String algorithm,
String category) |
getCurrentTime, getEPR, getPorttypeContext, getProperty, getPropertyNames, getPublisher, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, getTopicNames, initialise, initialiseContainers, inScope, load, publish, setPortTypeContext, setTerminationTime, unpublishgetID, getLock, getScheduledTasks, getScope, launchTask, onRemove, setID, setPersistenceDelegate, stopTask, storegetPortTypeMap, setPortTypeMappublic static final String SERVICE
public static final String MESSAGE_COMPUTATION_ID
public static final String MESSAGE_SCOPE
public static final String MESSAGE_REQUEST
protected void initialise(Object... arg0) throws Exception
initialise in class org.gcube.common.core.state.GCUBEWSResourceExceptionpublic static org.gcube.data.access.queueManager.FactoryConfiguration createQueueConfig(String scope) throws Exception
Exceptionpublic int setLocalResourcesAvailable(String agentId, String algorithm, String category)
public void cleanLocalResourcesComputational(String genId)
public int getLocalResourcesFree()
public static String getConfigPath()
public org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType getListOutput(String category, String algorithmName) throws Exception
Exceptionpublic List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getListParameters(String category, String algorithmName) throws Exception
Exceptionpublic String getAgorithmDescription(String category, String algorithmName) throws Exception
Exceptionpublic boolean setD4ScienceComputation()
public void cleanD4ScienceComputation()
public boolean getLocalComputation()
public void cleanLocalComputation()
Copyright © 2015. All Rights Reserved.