Interface PersistenceTypeHandlerManager<D>
-
- All Superinterfaces:
PersistenceTypeHandlerIterable<D>
,PersistenceTypeHandlerLookup<D>
,PersistenceTypeHandlerRegistry<D>
,PersistenceTypeIdLookup
,PersistenceTypeLookup
,PersistenceTypeManager
,PersistenceTypeRegistry
- All Known Implementing Classes:
PersistenceTypeHandlerManager.Default
public interface PersistenceTypeHandlerManager<D> extends PersistenceTypeManager, PersistenceTypeHandlerRegistry<D>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceTypeHandlerManager.Default<D>
-
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<D,T> lookupTypeHandler(T instance)
- Specified by:
lookupTypeHandler
in interfacePersistenceTypeHandlerLookup<D>
-
lookupTypeHandler
<T> PersistenceTypeHandler<D,T> lookupTypeHandler(Class<T> type)
- Specified by:
lookupTypeHandler
in interfacePersistenceTypeHandlerLookup<D>
-
lookupTypeHandler
PersistenceTypeHandler<D,?> lookupTypeHandler(long typeId)
- Specified by:
lookupTypeHandler
in interfacePersistenceTypeHandlerLookup<D>
-
ensureTypeHandler
<T> PersistenceTypeHandler<D,T> ensureTypeHandler(T instance)
-
ensureTypeHandler
<T> PersistenceTypeHandler<D,T> ensureTypeHandler(Class<T> type)
-
ensureTypeHandler
<T> PersistenceTypeHandler<D,T> ensureTypeHandler(PersistenceTypeDefinition typeDefinition)
-
ensureTypeHandlers
void ensureTypeHandlers(XGettingEnum<PersistenceTypeDefinition> typeDefinitions)
-
ensureTypeHandlersByTypeIds
void ensureTypeHandlersByTypeIds(XGettingEnum<Long> typeIds)
-
initialize
PersistenceTypeHandlerManager<D> 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<D,?> typeHandler)
-
validateTypeHandlers
default void validateTypeHandlers(Iterable<? extends PersistenceTypeHandler<D,?>> 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 <D> void registerEnumContantRoots(HashTable<Class<?>,PersistenceTypeHandler<D,?>> pendingEnumConstantRootStoringHandlers, PersistenceTypeHandler<D,?> typeHandler)
-
New
static <D> PersistenceTypeHandlerManager.Default<D> New(PersistenceTypeHandlerRegistry<D> typeHandlerRegistry, PersistenceTypeHandlerProvider<D> typeHandlerProvider, PersistenceTypeDictionaryManager typeDictionaryManager, PersistenceTypeMismatchValidator<D> typeMismatchValidator, PersistenceLegacyTypeMapper<D> legacyTypeMapper, PersistenceUnreachableTypeHandlerCreator<D> unreachableTypeHandlerCreator, PersistenceRootsProvider<D> rootsProvider)
-
-