Interface PersistenceTypeHandlerProvider<M>
-
- All Superinterfaces:
PersistenceTypeHandlerEnsurer<M>
,PersistenceTypeHandlerIterable<M>
,PersistenceTypeIdLookup
,PersistenceTypeLookup
,PersistenceTypeManager
,PersistenceTypeRegistry
- All Known Implementing Classes:
PersistenceTypeHandlerProviderCreating
,PersistenceTypeHandlerProviderFailing
public interface PersistenceTypeHandlerProvider<M> extends PersistenceTypeManager, PersistenceTypeHandlerEnsurer<M>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerEnsurer
PersistenceTypeHandlerEnsurer.Default<M>
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeManager
PersistenceTypeManager.Default
-
-
Method Summary
Modifier and Type Method Description <T> PersistenceTypeHandler<M,T>
ensureTypeHandler(Class<T> type)
<T> PersistenceTypeHandler<M,T>
provideTypeHandler(Class<T> type)
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandlerIterable
iterateAllTypeHandlers, iterateLegacyTypeHandlers, iterateTypeHandlers
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeLookup
lookupType, lookupTypeId, validateTypeMapping, validateTypeMappings
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeManager
currentTypeId, ensureType, ensureTypeId, updateCurrentHighestTypeId
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeRegistry
registerType, registerTypes
-
-
-
-
Method Detail
-
provideTypeHandler
<T> PersistenceTypeHandler<M,T> provideTypeHandler(Class<T> type) throws PersistenceExceptionTypeNotPersistable
-
ensureTypeHandler
<T> PersistenceTypeHandler<M,T> ensureTypeHandler(Class<T> type) throws PersistenceExceptionTypeNotPersistable
- Specified by:
ensureTypeHandler
in interfacePersistenceTypeHandlerEnsurer<M>
- Throws:
PersistenceExceptionTypeNotPersistable
-
-