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 String
protected static final String
protected static final String
protected static final String
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 Serializable
deserializeValue
(Object value) 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) protected com.mongodb.client.MongoCollection
<org.bson.Document> getColl()
protected org.bson.Document
protected Object
serializeValue
(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:
doPut
in classAbstractTransientDataStoreProvider
-
doPutAll
- Specified by:
doPutAll
in classAbstractTransientDataStoreProvider
-
prepareUpdateDocument
-
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. -
getColl
protected com.mongodb.client.MongoCollection<org.bson.Document> getColl() -
serializeValue
-
deserializeValue
-