Package org.nuxeo.runtime.ts
Class KeyValueTransientDataStore
java.lang.Object
org.nuxeo.runtime.ts.AbstractTransientDataStoreProvider
org.nuxeo.runtime.ts.KeyValueTransientDataStore
- All Implemented Interfaces:
TransientDataStore
,TransientDataStoreProvider
- Since:
- 2025.8
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected final KeyValueStoreProvider
protected static final String
protected final TransientDataStoreDescriptor.TTLPolicy
protected final long
Fields inherited from class org.nuxeo.runtime.ts.AbstractTransientDataStoreProvider
descriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clears the content of this Transient Data store provider.boolean
<S extends Serializable>
S<S extends Serializable>
Map<String, S> <S extends Serializable>
void<S extends Serializable>
voidprotected <S extends Serializable>
Sprotected <S extends Serializable>
Map<String, S> doRemoveAll
(String key) protected <S extends Serializable>
Map<String, S> getAllAndDo
(String key, Consumer<List<String>> effectiveKeysConsumer) protected <S extends Serializable>
Sprotected void
storeEffectiveValues
(String key, Map<String, ? extends Serializable> values) Methods inherited from class org.nuxeo.runtime.ts.AbstractTransientDataStoreProvider
exists, get, getAll, isValueNullOrEmpty, put, putAll, remove, removeAll
-
Field Details
-
SEP
- See Also:
-
DOT_CLASS
- See Also:
-
DOT_VALUE
- See Also:
-
DOT_PARAM_DOT
- See Also:
-
keyValueStore
-
ttlSeconds
protected final long ttlSeconds -
ttlPolicy
-
-
Constructor Details
-
KeyValueTransientDataStore
-
-
Method Details
-
doPut
- Specified by:
doPut
in classAbstractTransientDataStoreProvider
-
doPutAll
- Specified by:
doPutAll
in classAbstractTransientDataStoreProvider
-
storeEffectiveValues
-
doExists
- Specified by:
doExists
in classAbstractTransientDataStoreProvider
-
doGet
- Specified by:
doGet
in classAbstractTransientDataStoreProvider
-
doGetAll
- Specified by:
doGetAll
in classAbstractTransientDataStoreProvider
-
doRemove
- Specified by:
doRemove
in classAbstractTransientDataStoreProvider
-
doRemoveAll
- Specified by:
doRemoveAll
in classAbstractTransientDataStoreProvider
-
getAllAndDo
-
mapEffectiveValue
-
clear
public void clear()Description copied from interface:TransientDataStoreProvider
Clears the content of this Transient Data store provider.
-