org.gcube.data.analysis.statisticalmanager.wsresources
Class StatisticalManagerServiceResource

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.wsresources.StatisticalManagerServiceResource
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 StatisticalManagerServiceResource
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
StatisticalManagerServiceResource()
           
 
Method Summary
 void cleanResourcesComputational(org.gcube.dataanalysis.ecoengine.configuration.INFRASTRUCTURE compInf, long computationId)
           
 void executeComputation(org.gcube_system.namespaces.data.analysis.statisticalmanager.types.ComputationConfig computationConfig, long computationId)
           
 ConcurrentHashMap<String,org.gcube.dataanalysis.ecoengine.interfaces.ComputationalAgent> getComputationalAgents()
           
static FileManager getFileManager()
           
 List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getListParameters(org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMComputation computation)
           
protected  String[] getPropertyNames()
          
 UserDataSpaceManager getUserDataSpaceManager()
           
 UserHistoryManager getUserHistoryManager()
           
 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

StatisticalManagerServiceResource

public StatisticalManagerServiceResource()
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

getFileManager

public static FileManager getFileManager()

getUserHistoryManager

public UserHistoryManager getUserHistoryManager()

getUserDataSpaceManager

public UserDataSpaceManager getUserDataSpaceManager()

getComputationalAgents

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

getListParameters

public List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getListParameters(org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMComputation computation)
                                                                                   throws Exception
Throws:
Exception

executeComputation

public void executeComputation(org.gcube_system.namespaces.data.analysis.statisticalmanager.types.ComputationConfig computationConfig,
                               long computationId)
                        throws SMResourcesNotAvailableException
Throws:
SMResourcesNotAvailableException


Copyright © 2012. All Rights Reserved.