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 booleanprotected 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 booleanReturnstrueif an entry exists with the givenkey.final <S extends Serializable>
SGets the value ofparameterin the entry with the givenkey.final <S extends Serializable>
Map<String, S> Gets values of the parameters in the entry with the givenkey.protected booleanisValueNullOrEmpty(Object value) final <S extends Serializable>
voidPutsparametertovaluein the entry with the givenkey.final <S extends Serializable>
voidPutsparametersin the entry with the givenkey.final <S extends Serializable>
SRemoves the value ofparameterin the entry with the givenkeyand returns it.final <S extends Serializable>
Map<String, S> Removes values of parameters in the entry with the givenkeyand returns them.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.ts.TransientDataStoreProvider
clear
-
Field Details
-
descriptor
-
-
Constructor Details
-
AbstractTransientDataStoreProvider
-
-
Method Details
-
put
Description copied from interface:TransientDataStorePutsparametertovaluein the entry with the givenkey.If entry does not exist, a new entry is created. If
parameteralready exists in the entry, it is overwritten.- Specified by:
putin interfaceTransientDataStore
-
doPut
-
putAll
Description copied from interface:TransientDataStorePutsparametersin the entry with the givenkey. Overwrites any existing parameter in the entry.If entry does not exist, a new entry is created.
- Specified by:
putAllin interfaceTransientDataStore
-
doPutAll
-
isValueNullOrEmpty
-
exists
Description copied from interface:TransientDataStoreReturnstrueif an entry exists with the givenkey.- Specified by:
existsin interfaceTransientDataStore
-
doExists
-
get
Description copied from interface:TransientDataStoreGets the value ofparameterin the entry with the givenkey.Returns
nullif entry or parameter does not exist.- Specified by:
getin interfaceTransientDataStore
-
doGet
-
getAll
Description copied from interface:TransientDataStoreGets values of the parameters in the entry with the givenkey.Returns
nullif entry does not exist.- Specified by:
getAllin interfaceTransientDataStore
-
doGetAll
-
remove
Description copied from interface:TransientDataStoreRemoves the value ofparameterin the entry with the givenkeyand returns it.Returns
nullif entry or parameter does not exist.- Specified by:
removein interfaceTransientDataStore
-
doRemove
-
removeAll
Description copied from interface:TransientDataStoreRemoves values of parameters in the entry with the givenkeyand returns them.Returns
nullif entry does not exist.- Specified by:
removeAllin interfaceTransientDataStore
-
doRemoveAll
-