Class ViewerBinaryTypeHandlerManager
java.lang.Object
one.microstream.storage.restadapter.ViewerBinaryTypeHandlerManager
- All Implemented Interfaces:
PersistenceTypeHandlerIterable<Binary>
,PersistenceTypeHandlerLookup<Binary>
,PersistenceTypeHandlerManager<Binary>
,PersistenceTypeHandlerRegistry<Binary>
,PersistenceTypeIdLookup
,PersistenceTypeLookup
,PersistenceTypeManager
,PersistenceTypeRegistry
,Referencing<PersistenceTypeHandlerManager<Binary>>
public class ViewerBinaryTypeHandlerManager extends Object implements PersistenceTypeHandlerManager<Binary>, Referencing<PersistenceTypeHandlerManager<Binary>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerManager
PersistenceTypeHandlerManager.Default<D>
-
Constructor Summary
Constructors Constructor Description ViewerBinaryTypeHandlerManager(PersistenceManager<Binary> persistenceManager)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerIterable
iterateAllTypeHandlers
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerManager
collectEnumConstants, deriveEnumRootIdentifier, isEnumRootIdentifier, parseEnumRootIdentifierTypeId, update, validateTypeHandlers
-
Constructor Details
-
Method Details
-
currentTypeId
public long currentTypeId()- Specified by:
currentTypeId
in interfacePersistenceTypeManager
-
updateCurrentHighestTypeId
public void updateCurrentHighestTypeId(long highestTypeId)- Specified by:
updateCurrentHighestTypeId
in interfacePersistenceTypeManager
-
registerType
- Specified by:
registerType
in interfacePersistenceTypeRegistry
- Throws:
PersistenceExceptionConsistency
-
registerTypes
public boolean registerTypes(Iterable<? extends PersistenceTypeLink> types) throws PersistenceExceptionConsistency- Specified by:
registerTypes
in interfacePersistenceTypeRegistry
- Throws:
PersistenceExceptionConsistency
-
lookupTypeId
- Specified by:
lookupTypeId
in interfacePersistenceTypeIdLookup
- Specified by:
lookupTypeId
in interfacePersistenceTypeLookup
-
lookupType
- Specified by:
lookupType
in interfacePersistenceTypeLookup
-
validateTypeMapping
public boolean validateTypeMapping(long typeId, Class<?> type) throws PersistenceExceptionConsistency- Specified by:
validateTypeMapping
in interfacePersistenceTypeLookup
- Throws:
PersistenceExceptionConsistency
-
validateTypeMappings
public boolean validateTypeMappings(Iterable<? extends PersistenceTypeLink> mappings) throws PersistenceExceptionConsistency- Specified by:
validateTypeMappings
in interfacePersistenceTypeLookup
- Throws:
PersistenceExceptionConsistency
-
registerTypeHandler
public <T> boolean registerTypeHandler(Class<T> type, PersistenceTypeHandler<Binary,? super T> typeHandler)- Specified by:
registerTypeHandler
in interfacePersistenceTypeHandlerRegistry<Binary>
-
registerTypeHandler
- Specified by:
registerTypeHandler
in interfacePersistenceTypeHandlerRegistry<Binary>
-
registerLegacyTypeHandler
public boolean registerLegacyTypeHandler(PersistenceLegacyTypeHandler<Binary,?> legacyTypeHandler)- Specified by:
registerLegacyTypeHandler
in interfacePersistenceTypeHandlerRegistry<Binary>
-
iterateTypeHandlers
public <C extends Consumer<? super PersistenceTypeHandler<Binary, ?>>> C iterateTypeHandlers(C iterator)- Specified by:
iterateTypeHandlers
in interfacePersistenceTypeHandlerIterable<Binary>
-
iterateLegacyTypeHandlers
public <C extends Consumer<? super PersistenceLegacyTypeHandler<Binary, ?>>> C iterateLegacyTypeHandlers(C iterator)- Specified by:
iterateLegacyTypeHandlers
in interfacePersistenceTypeHandlerIterable<Binary>
-
lookupTypeHandler
- Specified by:
lookupTypeHandler
in interfacePersistenceTypeHandlerLookup<Binary>
- Specified by:
lookupTypeHandler
in interfacePersistenceTypeHandlerManager<Binary>
-
lookupTypeHandler
- Specified by:
lookupTypeHandler
in interfacePersistenceTypeHandlerLookup<Binary>
- Specified by:
lookupTypeHandler
in interfacePersistenceTypeHandlerManager<Binary>
-
lookupTypeHandler
- Specified by:
lookupTypeHandler
in interfacePersistenceTypeHandlerLookup<Binary>
- Specified by:
lookupTypeHandler
in interfacePersistenceTypeHandlerManager<Binary>
-
ensureTypeHandler
- Specified by:
ensureTypeHandler
in interfacePersistenceTypeHandlerManager<Binary>
-
ensureTypeHandler
- Specified by:
ensureTypeHandler
in interfacePersistenceTypeHandlerManager<Binary>
-
ensureTypeHandler
public <T> PersistenceTypeHandler<Binary,T> ensureTypeHandler(PersistenceTypeDefinition typeDefinition)- Specified by:
ensureTypeHandler
in interfacePersistenceTypeHandlerManager<Binary>
-
ensureTypeHandlers
- Specified by:
ensureTypeHandlers
in interfacePersistenceTypeHandlerManager<Binary>
-
ensureTypeHandlersByTypeIds
- Specified by:
ensureTypeHandlersByTypeIds
in interfacePersistenceTypeHandlerManager<Binary>
-
initialize
- Specified by:
initialize
in interfacePersistenceTypeHandlerManager<Binary>
-
update
- Specified by:
update
in interfacePersistenceTypeHandlerManager<Binary>
-
typeDictionary
- Specified by:
typeDictionary
in interfacePersistenceTypeHandlerManager<Binary>
-
ensureTypeId
- Specified by:
ensureTypeId
in interfacePersistenceTypeHandlerManager<Binary>
- Specified by:
ensureTypeId
in interfacePersistenceTypeManager
-
ensureType
- Specified by:
ensureType
in interfacePersistenceTypeHandlerManager<Binary>
- Specified by:
ensureType
in interfacePersistenceTypeManager
-
validateTypeHandler
- Specified by:
validateTypeHandler
in interfacePersistenceTypeHandlerManager<Binary>
-
checkForPendingRootInstances
public void checkForPendingRootInstances()- Specified by:
checkForPendingRootInstances
in interfacePersistenceTypeHandlerManager<Binary>
-
checkForPendingRootsStoring
- Specified by:
checkForPendingRootsStoring
in interfacePersistenceTypeHandlerManager<Binary>
-
clearStorePendingRoots
public void clearStorePendingRoots()- Specified by:
clearStorePendingRoots
in interfacePersistenceTypeHandlerManager<Binary>
-
get
- Specified by:
get
in interfaceReferencing<PersistenceTypeHandlerManager<Binary>>
-