org.gcube.vremanagement.resourcebroker.impl.resources
Class SingletonResourceStorage
java.lang.Object
org.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.resourcebroker.impl.resources.SingletonResourceStorage
- 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 SingletonResourceStorage
- extends org.gcube.common.core.state.GCUBEWSResource
Consists of the GCUBEWSResource
used by BrokerService
to store and handle the plans for deploying requests
coming from VREManagerService.
Instantiated in a singleton way stores all the data needed to keep
the BrokerService
state persistent.
- Author:
- Daniele Strollo (ISTI-CNR)
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 |
Method Summary |
void |
addElement(java.lang.String key,
java.lang.Object value)
|
boolean |
containsKey(java.lang.String key)
|
boolean |
containsValue(java.lang.Object value)
|
void |
deleteElement(java.lang.String key)
|
java.lang.Object |
getElem(java.lang.String key)
|
java.util.HashMap<java.lang.String,java.lang.Object> |
getState()
Deprecated. for internal use only |
Methods inherited from class org.gcube.common.core.state.GCUBEWSResource |
getCurrentTime, getEPR, getPorttypeContext, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, inScope, load, publish, setPortTypeContext, setTerminationTime, unpublish |
Methods inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
getID, getLock, getScheduledTasks, getScope, launchTask, setID, setPersistenceDelegate, stopTask, store |
Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl |
getPortTypeMap, setPortTypeMap |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.globus.wsrf.PersistenceCallback |
store |
SingletonResourceStorage
public SingletonResourceStorage()
getElem
public final java.lang.Object getElem(java.lang.String key)
addElement
public final void addElement(java.lang.String key,
java.lang.Object value)
deleteElement
public final void deleteElement(java.lang.String key)
containsKey
public final boolean containsKey(java.lang.String key)
containsValue
public final boolean containsValue(java.lang.Object value)
getState
public final java.util.HashMap<java.lang.String,java.lang.Object> getState()
- Deprecated. for internal use only