Interface PersistenceObjectManager<D>
- All Superinterfaces:
Cloneable<PersistenceObjectManager<D>>
,PersistenceObjectIdHolder
,PersistenceObjectIdLookup
,PersistenceObjectLookup
,PersistenceSwizzlingLookup
- All Known Subinterfaces:
PersistenceManager<D>
,ViewerBinaryPersistenceManager
- All Known Implementing Classes:
PersistenceManager.Default
,PersistenceObjectManager.Default
,ViewerBinaryPersistenceManager.Default
public interface PersistenceObjectManager<D> extends PersistenceSwizzlingLookup, PersistenceObjectIdHolder, Cloneable<PersistenceObjectManager<D>>
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceObjectManager.Default<D>
-
Method Summary
Modifier and Type Method Description default PersistenceObjectManager<D>
Clone()
Useful forPersistenceContextDispatcher
.void
consolidate()
long
currentObjectId()
long
ensureObjectId(Object object)
<T> long
ensureObjectId(T object, PersistenceObjectIdRequestor<D> objectIdRequestor, PersistenceTypeHandler<D,T> optionalHandler)
<T> long
ensureObjectIdGuaranteedRegister(T object, PersistenceObjectIdRequestor<D> objectIdRequestor, PersistenceTypeHandler<D,T> optionalHandler)
void
mergeEntries(PersistenceLocalObjectIdRegistry<D> localRegistry)
static <D> PersistenceObjectManager.Default<D>
New(PersistenceObjectRegistry objectRegistry, PersistenceObjectIdProvider oidProvider)
boolean
registerLocalRegistry(PersistenceLocalObjectIdRegistry<D> localRegistry)
PersistenceObjectManager<D>
updateCurrentObjectId(long currentObjectId)
Methods inherited from interface one.microstream.persistence.types.PersistenceObjectIdLookup
lookupObjectId
Methods inherited from interface one.microstream.persistence.types.PersistenceObjectLookup
lookupObject
-
Method Details
-
ensureObjectId
-
ensureObjectId
<T> long ensureObjectId(T object, PersistenceObjectIdRequestor<D> objectIdRequestor, PersistenceTypeHandler<D,T> optionalHandler) -
ensureObjectIdGuaranteedRegister
<T> long ensureObjectIdGuaranteedRegister(T object, PersistenceObjectIdRequestor<D> objectIdRequestor, PersistenceTypeHandler<D,T> optionalHandler) -
consolidate
void consolidate() -
currentObjectId
long currentObjectId()- Specified by:
currentObjectId
in interfacePersistenceObjectIdHolder
-
updateCurrentObjectId
- Specified by:
updateCurrentObjectId
in interfacePersistenceObjectIdHolder
-
Clone
Useful forPersistenceContextDispatcher
. -
registerLocalRegistry
-
mergeEntries
-
New
static <D> PersistenceObjectManager.Default<D> New(PersistenceObjectRegistry objectRegistry, PersistenceObjectIdProvider oidProvider)
-