Class PersistenceRootsProvider.Empty<D>
java.lang.Object
one.microstream.persistence.types.PersistenceRootsProvider.Empty<D>
- All Implemented Interfaces:
PersistenceRootsProvider<D>
- Enclosing interface:
- PersistenceRootsProvider<D>
public static final class PersistenceRootsProvider.Empty<D> extends Object implements PersistenceRootsProvider<D>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceRootsProvider
PersistenceRootsProvider.Empty<D>
-
Method Summary
Modifier and Type Method Description PersistenceRoots
peekRoots()
PersistenceRoots
provideRoots()
void
registerRootsTypeHandlerCreator(PersistenceCustomTypeHandlerRegistry<D> 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)
-
Method Details
-
provideRoots
- Specified by:
provideRoots
in interfacePersistenceRootsProvider<D>
-
peekRoots
- Specified by:
peekRoots
in interfacePersistenceRootsProvider<D>
-
updateRuntimeRoots
- Specified by:
updateRuntimeRoots
in interfacePersistenceRootsProvider<D>
-
registerRootsTypeHandlerCreator
public void registerRootsTypeHandlerCreator(PersistenceCustomTypeHandlerRegistry<D> 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<D>
- Parameters:
typeHandlerRegistry
- the type handler registryobjectRegistry
- the object registry
-