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

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.StatisticalManagerFactoryResource
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 StatisticalManagerFactoryResource
extends org.gcube.common.core.state.GCUBEWSResource

Author:
gioia

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
uuidGen
 
Constructor Summary
StatisticalManagerFactoryResource()
           
 
Method Summary
 void cleanLocalResourcesComputational(String genId)
           
 String getAgorithmDescription(String category, String algorithmName)
           
 String getConfigPath()
           
 List<org.gcube.dataanalysis.ecoengine.datatypes.StatisticalType> getListParameters(String category, String algorithmName)
           
 int getLocalResourcesFree()
           
protected  void initialise(Object... arg0)
           
 int setLocalResourcesAvailable(String agentId, org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMComputation computation)
           
 
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
 

Constructor Detail

StatisticalManagerFactoryResource

public StatisticalManagerFactoryResource()
Method Detail

initialise

protected void initialise(Object... arg0)
                   throws Exception
Specified by:
initialise in class org.gcube.common.core.state.GCUBEWSResource
Throws:
Exception

setLocalResourcesAvailable

public int setLocalResourcesAvailable(String agentId,
                                      org.gcube_system.namespaces.data.analysis.statisticalmanager.types.SMComputation computation)

cleanLocalResourcesComputational

public void cleanLocalResourcesComputational(String genId)

getLocalResourcesFree

public int getLocalResourcesFree()

getConfigPath

public 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


Copyright © 2012. All Rights Reserved.