Package org.nuxeo.runtime.ts
Class AbstractTransientDataStoreProvider
java.lang.Object
org.nuxeo.runtime.ts.AbstractTransientDataStoreProvider
- All Implemented Interfaces:
TransientDataStore
,TransientDataStoreProvider
- Direct Known Subclasses:
KeyValueTransientDataStore
,MemTransientDataStore
,MongoDBTransientDataStore
public abstract class AbstractTransientDataStoreProvider
extends Object
implements TransientDataStoreProvider
- Since:
- 2025.8
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract boolean
protected abstract <S extends Serializable>
Sprotected abstract <S extends Serializable>
Map<String, S> protected abstract <S extends Serializable>
voidprotected abstract <S extends Serializable>
voidprotected abstract <S extends Serializable>
Sprotected abstract <S extends Serializable>
Map<String, S> doRemoveAll
(String key) final boolean
Returnstrue
if an entry exists with the givenkey
.final <S extends Serializable>
SGets the value ofparameter
in the entry with the givenkey
.final <S extends Serializable>
Map<String, S> Gets values of the parameters in the entry with the givenkey
.protected boolean
isValueNullOrEmpty
(Object value) final <S extends Serializable>
voidPutsparameter
tovalue
in the entry with the givenkey
.final <S extends Serializable>
voidPutsparameters
in the entry with the givenkey
.final <S extends Serializable>
SRemoves the value ofparameter
in the entry with the givenkey
and returns it.final <S extends Serializable>
Map<String, S> Removes values of parameters in the entry with the givenkey
and returns them.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.ts.TransientDataStoreProvider
clear
-
Field Details
-
descriptor
-
-
Constructor Details
-
AbstractTransientDataStoreProvider
-
-
Method Details
-
put
Description copied from interface:TransientDataStore
Putsparameter
tovalue
in the entry with the givenkey
.If entry does not exist, a new entry is created. If
parameter
already exists in the entry, it is overwritten.- Specified by:
put
in interfaceTransientDataStore
-
doPut
-
putAll
Description copied from interface:TransientDataStore
Putsparameters
in the entry with the givenkey
. Overwrites any existing parameter in the entry.If entry does not exist, a new entry is created.
- Specified by:
putAll
in interfaceTransientDataStore
-
doPutAll
-
isValueNullOrEmpty
-
exists
Description copied from interface:TransientDataStore
Returnstrue
if an entry exists with the givenkey
.- Specified by:
exists
in interfaceTransientDataStore
-
doExists
-
get
Description copied from interface:TransientDataStore
Gets the value ofparameter
in the entry with the givenkey
.Returns
null
if entry or parameter does not exist.- Specified by:
get
in interfaceTransientDataStore
-
doGet
-
getAll
Description copied from interface:TransientDataStore
Gets values of the parameters in the entry with the givenkey
.Returns
null
if entry does not exist.- Specified by:
getAll
in interfaceTransientDataStore
-
doGetAll
-
remove
Description copied from interface:TransientDataStore
Removes the value ofparameter
in the entry with the givenkey
and returns it.Returns
null
if entry or parameter does not exist.- Specified by:
remove
in interfaceTransientDataStore
-
doRemove
-
removeAll
Description copied from interface:TransientDataStore
Removes values of parameters in the entry with the givenkey
and returns them.Returns
null
if entry does not exist.- Specified by:
removeAll
in interfaceTransientDataStore
-
doRemoveAll
-