Class ComBinaryPersistenceRootsProvider
java.lang.Object
one.microstream.communication.binary.types.ComBinaryPersistenceRootsProvider
- All Implemented Interfaces:
BinaryPersistenceRootsProvider
,PersistenceRootsProvider<Binary>
public class ComBinaryPersistenceRootsProvider extends Object implements BinaryPersistenceRootsProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.binary.types.BinaryPersistenceRootsProvider
BinaryPersistenceRootsProvider.Default
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceRootsProvider
PersistenceRootsProvider.Empty<D>
-
Constructor Summary
Constructors Constructor Description ComBinaryPersistenceRootsProvider()
-
Method Summary
Modifier and Type Method Description PersistenceRoots
peekRoots()
PersistenceRoots
provideRoots()
void
registerRootsTypeHandlerCreator(PersistenceCustomTypeHandlerRegistry<Binary> typeHandlerRegistry, PersistenceObjectRegistry objectRegistry)
Only thePersistenceRootsProvider
implementation can ensure that the handler fits the instance, so it has to do the registering as well.void
updateRuntimeRoots(PersistenceRoots runtimeRoots)
-
Constructor Details
-
ComBinaryPersistenceRootsProvider
public ComBinaryPersistenceRootsProvider()
-
-
Method Details
-
provideRoots
- Specified by:
provideRoots
in interfacePersistenceRootsProvider<Binary>
-
peekRoots
- Specified by:
peekRoots
in interfacePersistenceRootsProvider<Binary>
-
updateRuntimeRoots
- Specified by:
updateRuntimeRoots
in interfacePersistenceRootsProvider<Binary>
-
registerRootsTypeHandlerCreator
public void registerRootsTypeHandlerCreator(PersistenceCustomTypeHandlerRegistry<Binary> typeHandlerRegistry, PersistenceObjectRegistry objectRegistry)Description copied from interface:PersistenceRootsProvider
Only thePersistenceRootsProvider
implementation can ensure that the handler fits the instance, so it has to do the registering as well.- Specified by:
registerRootsTypeHandlerCreator
in interfacePersistenceRootsProvider<Binary>
- Parameters:
typeHandlerRegistry
- the type handler registryobjectRegistry
- the object registry
-