Interface PersistenceManager<M>
-
- All Superinterfaces:
ByteOrderTargeting<PersistenceManager<M>>
,Cloneable<PersistenceObjectManager>
,PersistenceObjectIdHolder
,PersistenceObjectIdLookup
,PersistenceObjectLookup
,PersistenceObjectManager
,PersistenceObjectRetriever
,PersistenceRetrieving
,PersistenceSourceSupplier<M>
,PersistenceStoring
,PersistenceSwizzlingLookup
- All Known Implementing Classes:
PersistenceManager.Default
public interface PersistenceManager<M> extends PersistenceObjectManager, PersistenceRetrieving, PersistenceStoring, PersistenceSourceSupplier<M>, ByteOrderTargeting<PersistenceManager<M>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceManager.Default<M>
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.ByteOrderTargeting
ByteOrderTargeting.Mutable<T extends ByteOrderTargeting.Mutable<?>>
-
-
Method Summary
-
Methods inherited from interface one.microstream.persistence.types.ByteOrderTargeting
getTargetByteOrder, isByteOrderMismatch
-
Methods inherited from interface one.microstream.persistence.types.PersistenceObjectIdLookup
lookupObjectId
-
Methods inherited from interface one.microstream.persistence.types.PersistenceObjectLookup
lookupObject
-
Methods inherited from interface one.microstream.persistence.types.PersistenceObjectManager
Clone, consolidate, ensureObjectId, ensureObjectId
-
Methods inherited from interface one.microstream.persistence.types.PersistenceRetrieving
collect, get, getObject
-
Methods inherited from interface one.microstream.persistence.types.PersistenceSourceSupplier
getObject
-
Methods inherited from interface one.microstream.persistence.types.PersistenceStoring
store, storeAll, storeAll
-
-
-
-
Method Detail
-
createRegisterer
PersistenceRegisterer createRegisterer()
-
createLoader
PersistenceLoader<M> createLoader()
-
createLazyStorer
PersistenceStorer<M> createLazyStorer()
-
createStorer
PersistenceStorer<M> createStorer()
-
createEagerStorer
PersistenceStorer<M> createEagerStorer()
-
createStorer
PersistenceStorer<M> createStorer(PersistenceStorer.Creator<M> storerCreator)
-
updateMetadata
void updateMetadata(PersistenceTypeDictionary typeDictionary, long highestTypeId, long highestObjectId)
-
updateMetadata
default void updateMetadata(PersistenceTypeDictionary typeDictionary)
-
storeSelfStoring
default void storeSelfStoring(SelfStoring storing)
- Specified by:
storeSelfStoring
in interfacePersistenceStoring
-
objectRegistry
PersistenceObjectRegistry objectRegistry()
-
typeDictionary
PersistenceTypeDictionary typeDictionary()
-
currentObjectId
long currentObjectId()
- Specified by:
currentObjectId
in interfacePersistenceObjectIdHolder
- Specified by:
currentObjectId
in interfacePersistenceObjectManager
-
updateCurrentObjectId
PersistenceManager<M> updateCurrentObjectId(long currentObjectId)
- Specified by:
updateCurrentObjectId
in interfacePersistenceObjectIdHolder
- Specified by:
updateCurrentObjectId
in interfacePersistenceObjectManager
-
source
PersistenceSource<M> source()
- Specified by:
source
in interfacePersistenceSourceSupplier<M>
-
target
PersistenceTarget<M> target()
-
close
void close()
Closes all ties to outside resources, if applicable. Typ
-
New
static <M> PersistenceManager<M> New(PersistenceObjectRegistry objectRegistering, PersistenceObjectManager objectManager, PersistenceTypeHandlerManager<M> typeHandlerManager, PersistenceContextDispatcher<M> contextDispatcher, PersistenceStorer.Creator<M> storerCreator, PersistenceLoader.Creator<M> loaderCreator, PersistenceRegisterer.Creator registererCreator, PersistenceTarget<M> target, PersistenceSource<M> source, BufferSizeProviderIncremental bufferSizeProvider, ByteOrder targetByteOrder)
-
-