Class PersistenceTypeHandlerManager.Default<D>
java.lang.Object
one.microstream.persistence.types.PersistenceTypeHandlerManager.Default<D>
- All Implemented Interfaces:
PersistenceTypeHandlerIterable<D>,PersistenceTypeHandlerLookup<D>,PersistenceTypeHandlerManager<D>,PersistenceTypeHandlerRegistry<D>,PersistenceTypeIdLookup,PersistenceTypeLookup,PersistenceTypeManager,PersistenceTypeRegistry
- Enclosing interface:
- PersistenceTypeHandlerManager<D>
public static final class PersistenceTypeHandlerManager.Default<D> extends Object implements PersistenceTypeHandlerManager<D>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerManager
PersistenceTypeHandlerManager.Default<D> -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerIterable
iterateAllTypeHandlersMethods inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerManager
collectEnumConstants, deriveEnumRootIdentifier, isEnumRootIdentifier, parseEnumRootIdentifierTypeId, update, validateTypeHandlers
-
Method Details
-
validateTypeHandler
- Specified by:
validateTypeHandlerin interfacePersistenceTypeHandlerManager<D>
-
ensureTypeHandler
- Specified by:
ensureTypeHandlerin interfacePersistenceTypeHandlerManager<D>
-
typeDictionary
- Specified by:
typeDictionaryin interfacePersistenceTypeHandlerManager<D>
-
ensureTypeHandler
- Specified by:
ensureTypeHandlerin interfacePersistenceTypeHandlerManager<D>
-
ensureTypeHandler
public <T> PersistenceTypeHandler<D,? super T> ensureTypeHandler(PersistenceTypeDefinition typeDefinition)- Specified by:
ensureTypeHandlerin interfacePersistenceTypeHandlerManager<D>
-
ensureTypeHandlersByTypeIds
- Specified by:
ensureTypeHandlersByTypeIdsin interfacePersistenceTypeHandlerManager<D>
-
ensureTypeHandlers
- Specified by:
ensureTypeHandlersin interfacePersistenceTypeHandlerManager<D>
-
lookupTypeHandler
- Specified by:
lookupTypeHandlerin interfacePersistenceTypeHandlerLookup<D>- Specified by:
lookupTypeHandlerin interfacePersistenceTypeHandlerManager<D>
-
lookupTypeHandler
- Specified by:
lookupTypeHandlerin interfacePersistenceTypeHandlerLookup<D>- Specified by:
lookupTypeHandlerin interfacePersistenceTypeHandlerManager<D>
-
lookupTypeHandler
- Specified by:
lookupTypeHandlerin interfacePersistenceTypeHandlerLookup<D>- Specified by:
lookupTypeHandlerin interfacePersistenceTypeHandlerManager<D>
-
lookupTypeId
- Specified by:
lookupTypeIdin interfacePersistenceTypeIdLookup- Specified by:
lookupTypeIdin interfacePersistenceTypeLookup
-
lookupType
- Specified by:
lookupTypein interfacePersistenceTypeLookup
-
validateTypeMapping
public boolean validateTypeMapping(long typeId, Class<?> type) throws PersistenceExceptionConsistency- Specified by:
validateTypeMappingin interfacePersistenceTypeLookup- Throws:
PersistenceExceptionConsistency
-
validateTypeMappings
public boolean validateTypeMappings(Iterable<? extends PersistenceTypeLink> mappings) throws PersistenceExceptionConsistency- Specified by:
validateTypeMappingsin interfacePersistenceTypeLookup- Throws:
PersistenceExceptionConsistency
-
registerTypes
public boolean registerTypes(Iterable<? extends PersistenceTypeLink> types) throws PersistenceExceptionConsistency- Specified by:
registerTypesin interfacePersistenceTypeRegistry- Throws:
PersistenceExceptionConsistency
-
registerTypeHandler
public <T> boolean registerTypeHandler(Class<T> type, PersistenceTypeHandler<D,? super T> typeHandler)- Specified by:
registerTypeHandlerin interfacePersistenceTypeHandlerRegistry<D>
-
registerTypeHandlers
public <T> long registerTypeHandlers(Iterable<? extends PersistenceTypeHandler<D,T>> typeHandlers)- Specified by:
registerTypeHandlersin interfacePersistenceTypeHandlerRegistry<D>
-
registerTypeHandler
- Specified by:
registerTypeHandlerin interfacePersistenceTypeHandlerRegistry<D>
-
checkForPendingRootInstances
public void checkForPendingRootInstances()- Specified by:
checkForPendingRootInstancesin interfacePersistenceTypeHandlerManager<D>
-
checkForPendingRootsStoring
- Specified by:
checkForPendingRootsStoringin interfacePersistenceTypeHandlerManager<D>
-
clearStorePendingRoots
public void clearStorePendingRoots()- Specified by:
clearStorePendingRootsin interfacePersistenceTypeHandlerManager<D>
-
registerLegacyTypeHandler
public final boolean registerLegacyTypeHandler(PersistenceLegacyTypeHandler<D,?> legacyTypeHandler)- Specified by:
registerLegacyTypeHandlerin interfacePersistenceTypeHandlerRegistry<D>
-
ensureTypeId
- Specified by:
ensureTypeIdin interfacePersistenceTypeHandlerManager<D>- Specified by:
ensureTypeIdin interfacePersistenceTypeManager
-
currentTypeId
public final long currentTypeId()- Specified by:
currentTypeIdin interfacePersistenceTypeManager
-
ensureType
- Specified by:
ensureTypein interfacePersistenceTypeHandlerManager<D>- Specified by:
ensureTypein interfacePersistenceTypeManager
-
registerType
- Specified by:
registerTypein interfacePersistenceTypeRegistry- Throws:
PersistenceExceptionConsistency
-
iterateTypeHandlers
public <C extends Consumer<? super PersistenceTypeHandler<D, ?>>> C iterateTypeHandlers(C iterator)- Specified by:
iterateTypeHandlersin interfacePersistenceTypeHandlerIterable<D>
-
iterateLegacyTypeHandlers
public <C extends Consumer<? super PersistenceLegacyTypeHandler<D, ?>>> C iterateLegacyTypeHandlers(C iterator)- Specified by:
iterateLegacyTypeHandlersin interfacePersistenceTypeHandlerIterable<D>
-
initialize
- Specified by:
initializein interfacePersistenceTypeHandlerManager<D>
-
updateCurrentHighestTypeId
public void updateCurrentHighestTypeId(long highestTypeId)- Specified by:
updateCurrentHighestTypeIdin interfacePersistenceTypeManager
-
update
- Specified by:
updatein interfacePersistenceTypeHandlerManager<D>
-