Interface PersistenceObjectManager
-
- All Superinterfaces:
Cloneable<PersistenceObjectManager>
,PersistenceObjectIdHolder
,PersistenceObjectIdLookup
,PersistenceObjectLookup
,PersistenceSwizzlingLookup
- All Known Subinterfaces:
PersistenceManager<D>
- All Known Implementing Classes:
PersistenceManager.Default
,PersistenceObjectManager.Default
public interface PersistenceObjectManager extends PersistenceSwizzlingLookup, PersistenceObjectIdHolder, Cloneable<PersistenceObjectManager>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceObjectManager.Default
-
Method Summary
Modifier and Type Method Description default PersistenceObjectManager
Clone()
Useful forPersistenceContextDispatcher
.void
consolidate()
long
currentObjectId()
default long
ensureObjectId(Object object)
long
ensureObjectId(Object object, PersistenceAcceptor newObjectIdCallback)
static PersistenceObjectManager.Default
New(PersistenceObjectRegistry objectRegistry, PersistenceObjectIdProvider oidProvider)
PersistenceObjectManager
updateCurrentObjectId(long currentObjectId)
-
Methods inherited from interface one.microstream.persistence.types.PersistenceObjectIdLookup
lookupObjectId
-
Methods inherited from interface one.microstream.persistence.types.PersistenceObjectLookup
lookupObject
-
-
-
-
Method Detail
-
ensureObjectId
default long ensureObjectId(Object object)
-
ensureObjectId
long ensureObjectId(Object object, PersistenceAcceptor newObjectIdCallback)
-
consolidate
void consolidate()
-
currentObjectId
long currentObjectId()
- Specified by:
currentObjectId
in interfacePersistenceObjectIdHolder
-
updateCurrentObjectId
PersistenceObjectManager updateCurrentObjectId(long currentObjectId)
- Specified by:
updateCurrentObjectId
in interfacePersistenceObjectIdHolder
-
Clone
default PersistenceObjectManager Clone()
Useful forPersistenceContextDispatcher
.- Specified by:
Clone
in interfaceCloneable<PersistenceObjectManager>
- Returns:
- A Clone of this instance as described in
Cloneable
.
-
New
static PersistenceObjectManager.Default New(PersistenceObjectRegistry objectRegistry, PersistenceObjectIdProvider oidProvider)
-
-