org.gcube.data.analysis.statisticalmanager.experimentspace.computation
Class ComputationResource

java.lang.Object
  extended by org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
      extended by org.gcube.common.core.state.GCUBEStatefulResource<org.gcube.common.core.state.GCUBEWSResourceKey>
          extended by org.gcube.common.core.state.GCUBEWSResource
              extended by 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 Class Summary
 
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
 
Field Summary
 
Fields inherited from class org.gcube.common.core.state.GCUBEStatefulResource
logger, uuidGen
 
Constructor Summary
ComputationResource()
           
 
Method Summary
 void cleanResourcesComputational(org.gcube.dataanalysis.ecoengine.configuration.INFRASTRUCTURE compInf, long computationId)
           
 void executeComputation(org.gcube.data.analysis.statisticalmanager.stubs.SMComputationConfig computationConfig, long computationId)
           
 ConcurrentHashMap<String,org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent> getComputationalAgents()
           
 List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getListParameters(String algorithm)
           
protected  String[] getPropertyNames()
          
 void initialise(Object... args)
          
 
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
 

Constructor Detail

ComputationResource

public ComputationResource()
Method Detail

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

getComputationalAgents

public ConcurrentHashMap<String,org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent> getComputationalAgents()

getListParameters

public List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getListParameters(String algorithm)
                                                                                   throws Exception
Throws:
Exception

executeComputation

public void executeComputation(org.gcube.data.analysis.statisticalmanager.stubs.SMComputationConfig computationConfig,
                               long computationId)
                        throws SMResourcesNotAvailableException
Throws:
SMResourcesNotAvailableException


Copyright © 2013. All Rights Reserved.