Package org.nuxeo.ecm.core.storage.dbs
Class DBSTransactionState.ChangeTokenUpdater
- java.lang.Object
-
- org.nuxeo.ecm.core.storage.dbs.DBSTransactionState.ChangeTokenUpdater
-
- Enclosing class:
- DBSTransactionState
public static class DBSTransactionState.ChangeTokenUpdater extends Object
Logic to get the conditions to use to match and update a change token.This may be called several times for a single DBS document update, because the low-level storage may need several database updates for a single high-level update in some cases.
- Since:
- 9.1
-
-
Field Summary
Fields Modifier and Type Field Description protected DBSDocumentState
docState
protected Long
oldToken
-
Constructor Summary
Constructors Constructor Description ChangeTokenUpdater(DBSDocumentState docState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Serializable>
getConditions()
Gets the conditions to use to match a change token.Map<String,Serializable>
getUpdates()
Gets the updates to make to write the updated change token.
-
-
-
Field Detail
-
docState
protected final DBSDocumentState docState
-
-
Constructor Detail
-
ChangeTokenUpdater
public ChangeTokenUpdater(DBSDocumentState docState)
-
-
Method Detail
-
getConditions
public Map<String,Serializable> getConditions()
Gets the conditions to use to match a change token.
-
getUpdates
public Map<String,Serializable> getUpdates()
Gets the updates to make to write the updated change token.
-
-