Interface PersistenceManager<D>
-
- All Superinterfaces:
ByteOrderTargeting<PersistenceManager<D>>
,Cloneable<PersistenceObjectManager>
,ObjectSwizzling
,PersistenceObjectIdHolder
,PersistenceObjectIdLookup
,PersistenceObjectLookup
,PersistenceObjectManager
,PersistenceRetrieving
,PersistenceSourceSupplier<D>
,PersistenceStoring
,PersistenceSwizzlingLookup
,Persister
- All Known Implementing Classes:
PersistenceManager.Default
public interface PersistenceManager<D> extends PersistenceObjectManager, PersistenceRetrieving, Persister, PersistenceSourceSupplier<D>, ByteOrderTargeting<PersistenceManager<D>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceManager.Default<D>
-
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
-
-
-
-
Method Detail
-
createLazyStorer
PersistenceStorer createLazyStorer()
- Specified by:
createLazyStorer
in interfacePersister
-
createStorer
PersistenceStorer createStorer()
- Specified by:
createStorer
in interfacePersister
-
createEagerStorer
PersistenceStorer createEagerStorer()
- Specified by:
createEagerStorer
in interfacePersister
-
createStorer
PersistenceStorer createStorer(PersistenceStorer.Creator<D> storerCreator)
-
createLoader
PersistenceLoader createLoader()
-
createRegisterer
PersistenceRegisterer createRegisterer()
-
updateMetadata
void updateMetadata(PersistenceTypeDictionary typeDictionary, long highestTypeId, long highestObjectId)
-
updateMetadata
default void updateMetadata(PersistenceTypeDictionary typeDictionary)
-
objectRegistry
PersistenceObjectRegistry objectRegistry()
-
typeDictionary
PersistenceTypeDictionary typeDictionary()
-
currentObjectId
long currentObjectId()
- Specified by:
currentObjectId
in interfacePersistenceObjectIdHolder
- Specified by:
currentObjectId
in interfacePersistenceObjectManager
-
updateCurrentObjectId
PersistenceManager<D> updateCurrentObjectId(long currentObjectId)
- Specified by:
updateCurrentObjectId
in interfacePersistenceObjectIdHolder
- Specified by:
updateCurrentObjectId
in interfacePersistenceObjectManager
-
source
PersistenceSource<D> source()
- Specified by:
source
in interfacePersistenceSourceSupplier<D>
-
target
PersistenceTarget<D> target()
-
close
void close()
Closes all ties to outside resources, if applicable. Typ
-
New
static <D> PersistenceManager<D> New(PersistenceObjectRegistry objectRegistering, PersistenceObjectManager objectManager, PersistenceTypeHandlerManager<D> typeHandlerManager, PersistenceContextDispatcher<D> contextDispatcher, PersistenceStorer.Creator<D> storerCreator, PersistenceLoader.Creator<D> loaderCreator, PersistenceRegisterer.Creator registererCreator, Persister persister, PersistenceTarget<D> target, PersistenceSource<D> source, BufferSizeProviderIncremental bufferSizeProvider, ByteOrder targetByteOrder)
-
-