Interface PersistenceTypeHandlerManager<M>
-
- All Superinterfaces:
PersistenceTypeHandlerIterable<M>
,PersistenceTypeHandlerLookup<M>
,PersistenceTypeHandlerRegistry<M>
,PersistenceTypeIdLookup
,PersistenceTypeLookup
,PersistenceTypeManager
,PersistenceTypeRegistry
- All Known Implementing Classes:
PersistenceTypeHandlerManager.Default
public interface PersistenceTypeHandlerManager<M> extends PersistenceTypeManager, PersistenceTypeHandlerRegistry<M>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceTypeHandlerManager.Default<M>
-
Method Summary
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerIterable
iterateAllTypeHandlers, iterateLegacyTypeHandlers, iterateTypeHandlers
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerRegistry
registerLegacyTypeHandler, registerTypeHandler
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeLookup
lookupType, lookupTypeId, validateTypeMapping, validateTypeMappings
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeManager
currentTypeId, updateCurrentHighestTypeId
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeRegistry
registerType, registerTypes
-
-
-
-
Method Detail
-
lookupTypeHandler
<T> PersistenceTypeHandler<M,T> lookupTypeHandler(T instance)
- Specified by:
lookupTypeHandler
in interfacePersistenceTypeHandlerLookup<M>
-
lookupTypeHandler
<T> PersistenceTypeHandler<M,T> lookupTypeHandler(Class<T> type)
- Specified by:
lookupTypeHandler
in interfacePersistenceTypeHandlerLookup<M>
-
lookupTypeHandler
PersistenceTypeHandler<M,?> lookupTypeHandler(long typeId)
- Specified by:
lookupTypeHandler
in interfacePersistenceTypeHandlerLookup<M>
-
ensureTypeHandler
<T> PersistenceTypeHandler<M,T> ensureTypeHandler(T instance)
-
ensureTypeHandler
<T> PersistenceTypeHandler<M,T> ensureTypeHandler(Class<T> type)
-
ensureTypeHandler
<T> PersistenceTypeHandler<M,T> ensureTypeHandler(PersistenceTypeDefinition typeDefinition)
-
ensureTypeHandlers
void ensureTypeHandlers(XGettingEnum<PersistenceTypeDefinition> typeDefinitions)
-
ensureTypeHandlersByTypeIds
void ensureTypeHandlersByTypeIds(XGettingEnum<Long> typeIds)
-
initialize
PersistenceTypeHandlerManager<M> initialize()
-
update
void update(PersistenceTypeDictionary typeDictionary, long highestTypeId)
-
update
default void update(PersistenceTypeDictionary typeDictionary)
-
typeDictionary
PersistenceTypeDictionary typeDictionary()
-
ensureTypeId
long ensureTypeId(Class<?> type)
- Specified by:
ensureTypeId
in interfacePersistenceTypeManager
-
ensureType
Class<?> ensureType(long typeId)
- Specified by:
ensureType
in interfacePersistenceTypeManager
-
validateTypeHandler
void validateTypeHandler(PersistenceTypeHandler<M,?> typeHandler)
-
validateTypeHandlers
default void validateTypeHandlers(Iterable<? extends PersistenceTypeHandler<M,?>> typeHandlers)
-
checkForPendingRootInstances
void checkForPendingRootInstances()
-
checkForPendingRootsStoring
void checkForPendingRootsStoring(PersistenceStoring storingCallback)
-
clearStorePendingRoots
void clearStorePendingRoots()
-
deriveEnumRootIdentifier
default String deriveEnumRootIdentifier(PersistenceTypeHandler<?,?> typeHandler)
-
isEnumRootIdentifier
default boolean isEnumRootIdentifier(String enumRootIdentifier)
-
parseEnumRootIdentifierTypeId
default Long parseEnumRootIdentifierTypeId(String enumRootIdentifier)
-
collectEnumConstants
default Object[] collectEnumConstants(PersistenceTypeHandler<?,?> typeHandler)
-
registerEnumContantRoots
static <M> void registerEnumContantRoots(HashTable<Class<?>,PersistenceTypeHandler<M,?>> pendingEnumConstantRootStoringHandlers, PersistenceTypeHandler<M,?> typeHandler)
-
New
static <M> PersistenceTypeHandlerManager.Default<M> New(PersistenceTypeHandlerRegistry<M> typeHandlerRegistry, PersistenceTypeHandlerProvider<M> typeHandlerProvider, PersistenceTypeDictionaryManager typeDictionaryManager, PersistenceTypeMismatchValidator<M> typeMismatchValidator, PersistenceLegacyTypeMapper<M> legacyTypeMapper, PersistenceUnreachableTypeHandlerCreator<M> unreachableTypeHandlerCreator, PersistenceRootsProvider<M> rootsProvider)
-
-