Package org.nuxeo.runtime.ts
Class MemTransientDataStore
java.lang.Object
org.nuxeo.runtime.ts.AbstractTransientDataStoreProvider
org.nuxeo.runtime.ts.MemTransientDataStore
- All Implemented Interfaces:
TransientDataStore
,TransientDataStoreProvider
Memory-based implementation of a Transient Data store.
- Since:
- 2025.8
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final net.jodah.expiringmap.ExpiringMap
<String, Map<String, Serializable>> protected final Lock
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.protected boolean
protected <S extends Serializable>
Sprotected <S extends Serializable>
Map<String, S> protected <S extends Serializable>
voidprotected <S extends Serializable>
voidprotected <S extends Serializable>
Sprotected <S extends Serializable>
Map<String, S> doRemoveAll
(String key) Methods inherited from class org.nuxeo.runtime.ts.AbstractTransientDataStoreProvider
exists, get, getAll, isValueNullOrEmpty, put, putAll, remove, removeAll
-
Field Details
-
map
-
writeLock
-
-
Constructor Details
-
MemTransientDataStore
-
-
Method Details
-
doPut
- Specified by:
doPut
in classAbstractTransientDataStoreProvider
-
doPutAll
- Specified by:
doPutAll
in classAbstractTransientDataStoreProvider
-
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
-
clear
public void clear()Description copied from interface:TransientDataStoreProvider
Clears the content of this Transient Data store provider.
-