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 PersistenceRootspeekRoots()PersistenceRootsprovideRoots()voidregisterRootsTypeHandlerCreator(PersistenceCustomTypeHandlerRegistry<D> typeHandlerRegistry, PersistenceObjectRegistry objectRegistry)Only thePersistenceRootsProviderimplementation can ensure that the handler fits the instance, so it has to do the registering as well.voidupdateRuntimeRoots(PersistenceRoots runtimeRoots)
-
Method Details
-
provideRoots
- Specified by:
provideRootsin interfacePersistenceRootsProvider<D>
-
peekRoots
- Specified by:
peekRootsin interfacePersistenceRootsProvider<D>
-
updateRuntimeRoots
- Specified by:
updateRuntimeRootsin interfacePersistenceRootsProvider<D>
-
registerRootsTypeHandlerCreator
public void registerRootsTypeHandlerCreator(PersistenceCustomTypeHandlerRegistry<D> typeHandlerRegistry, PersistenceObjectRegistry objectRegistry)Description copied from interface:PersistenceRootsProviderOnly thePersistenceRootsProviderimplementation can ensure that the handler fits the instance, so it has to do the registering as well.- Specified by:
registerRootsTypeHandlerCreatorin interfacePersistenceRootsProvider<D>- Parameters:
typeHandlerRegistry- the type handler registryobjectRegistry- the object registry
-