public interface ScriptStorageHandler
ObjectParameterStorage stored on ScriptStorage| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(java.lang.String key)
Returns whether the given key represents a valid storage
|
org.cyclos.impl.system.ScriptObjectStorage |
get(java.lang.String key)
Returns a storage by key with no expiration, updating an existing or creating a new one.
|
org.cyclos.impl.system.ScriptObjectStorage |
get(java.lang.String key,
java.lang.Integer timeoutInSeconds)
Returns a storage by key, updating an existing one with the given timeout if needed, or creating a new one
|
org.cyclos.impl.system.ScriptObjectStorage |
getIfValid(java.lang.String key)
Returns a storage by key if it exists and is not expired, returning null otherwise
|
boolean |
remove(java.lang.String key)
Removes an storage by key, returning whether something was really removed
|
boolean exists(java.lang.String key)
org.cyclos.impl.system.ScriptObjectStorage get(java.lang.String key)
org.cyclos.impl.system.ScriptObjectStorage get(java.lang.String key,
java.lang.Integer timeoutInSeconds)
org.cyclos.impl.system.ScriptObjectStorage getIfValid(java.lang.String key)
boolean remove(java.lang.String key)