Package org.nuxeo.ecm.core.mongodb.ts
Class MongoDBTransientDataStore
java.lang.Object
org.nuxeo.runtime.ts.AbstractTransientDataStoreProvider
org.nuxeo.ecm.core.mongodb.ts.MongoDBTransientDataStore
- All Implemented Interfaces:
TransientDataStore,TransientDataStoreProvider
- Since:
- 2025.8
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.mongodb.client.MongoCollection<org.bson.Document> protected static final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class org.nuxeo.runtime.ts.AbstractTransientDataStoreProvider
descriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears the content of this Transient Data store provider.protected SerializabledeserializeValue(Object value) protected booleanprotected <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) protected com.mongodb.client.MongoCollection<org.bson.Document> getColl()protected org.bson.Documentprotected ObjectserializeValue(Object value) Methods inherited from class org.nuxeo.runtime.ts.AbstractTransientDataStoreProvider
exists, get, getAll, isValueNullOrEmpty, put, putAll, remove, removeAll
-
Field Details
-
TRANSIENTDATA_DATABASE_ID
- See Also:
-
COLLECTION_PROP
- See Also:
-
COLLECTION_DEFAULT
- See Also:
-
TTL_KEY
- See Also:
-
coll
protected volatile com.mongodb.client.MongoCollection<org.bson.Document> coll
-
-
Constructor Details
-
MongoDBTransientDataStore
-
-
Method Details
-
doPut
- Specified by:
doPutin classAbstractTransientDataStoreProvider
-
doPutAll
- Specified by:
doPutAllin classAbstractTransientDataStoreProvider
-
prepareUpdateDocument
-
doExists
- Specified by:
doExistsin classAbstractTransientDataStoreProvider
-
doGet
- Specified by:
doGetin classAbstractTransientDataStoreProvider
-
doGetAll
- Specified by:
doGetAllin classAbstractTransientDataStoreProvider
-
doRemove
- Specified by:
doRemovein classAbstractTransientDataStoreProvider
-
doRemoveAll
- Specified by:
doRemoveAllin classAbstractTransientDataStoreProvider
-
clear
public void clear()Description copied from interface:TransientDataStoreProviderClears the content of this Transient Data store provider. -
getColl
protected com.mongodb.client.MongoCollection<org.bson.Document> getColl() -
serializeValue
-
deserializeValue
-