|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.vremanagement.resourcemanager.impl.state.InstanceState
public final class InstanceState
The ResourceManager's stateful resource
| 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 | |
|---|---|
InstanceState()
|
|
| Method Summary | |
|---|---|
void |
addSession(org.gcube.common.core.scope.GCUBEScope scope,
Session session)
Adds a new Session to the service's state |
void |
createState(org.gcube.common.core.scope.GCUBEScope scope)
Creates a new state for the given scope |
void |
disposeState(org.gcube.common.core.scope.GCUBEScope scope,
Session report)
Disposes the scope |
PublishedScopeResource |
getPublishedScopeResource(org.gcube.common.core.scope.GCUBEScope scope)
Gets the resource published in the IS for the given scope |
String |
getSerializedSession(String id)
Gets the string representation of a Session |
Session |
getSession(String id)
Gets the Session |
ScopeState |
getState(org.gcube.common.core.scope.GCUBEScope scope)
Gets the state for the given scope |
protected void |
initialise(Object... params)
|
protected void |
reuseState(org.gcube.common.core.scope.GCUBEScope scope)
|
| 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 |
|---|
public InstanceState()
| Method Detail |
|---|
protected void initialise(Object... params)
throws Exception
initialise in class org.gcube.common.core.state.GCUBEWSResourceException
protected void reuseState(org.gcube.common.core.scope.GCUBEScope scope)
throws Exception
Exception
public Session getSession(String id)
throws IOException
Session
id - the session ID
IOException
public String getSerializedSession(String id)
throws IOException
Session
id - the session ID
IOException
public void addSession(org.gcube.common.core.scope.GCUBEScope scope,
Session session)
throws org.globus.wsrf.NoSuchResourceException
Session to the service's state
session - the session to add
org.globus.wsrf.NoSuchResourceException
public ScopeState getState(org.gcube.common.core.scope.GCUBEScope scope)
throws org.globus.wsrf.NoSuchResourceException
org.globus.wsrf.NoSuchResourceException
public void disposeState(org.gcube.common.core.scope.GCUBEScope scope,
Session report)
throws IOException,
VirtualNode.NoGHNFoundException
report -
IOException
VirtualNode.NoGHNFoundException
public PublishedScopeResource getPublishedScopeResource(org.gcube.common.core.scope.GCUBEScope scope)
throws org.globus.wsrf.NoSuchResourceException
scope -
org.globus.wsrf.NoSuchResourceException
public void createState(org.gcube.common.core.scope.GCUBEScope scope)
throws org.globus.wsrf.NoSuchResourceException,
Exception
scope -
org.globus.wsrf.NoSuchResourceException
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||