Class PersistenceTypeManager.Default
java.lang.Object
one.microstream.persistence.types.PersistenceTypeManager.Default
- All Implemented Interfaces:
- PersistenceTypeIdLookup,- PersistenceTypeLookup,- PersistenceTypeManager,- PersistenceTypeRegistry
- Enclosing interface:
- PersistenceTypeManager
public static final class PersistenceTypeManager.Default extends Object implements PersistenceTypeManager
- 
Nested Class SummaryNested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeManagerPersistenceTypeManager.Default
- 
Constructor SummaryConstructors Constructor Description Default()
- 
Method SummaryModifier and Type Method Description longcurrentTypeId()Class<?>ensureType(long typeId)longensureTypeId(Class<?> type)<T> Class<T>lookupType(long tid)longlookupTypeId(Class<?> type)booleanregisterType(long tid, Class<?> type)booleanregisterTypes(Iterable<? extends PersistenceTypeLink> types)voidupdateCurrentHighestTypeId(long highestTypeId)booleanvalidateTypeMapping(long typeId, Class<?> type)booleanvalidateTypeMappings(Iterable<? extends PersistenceTypeLink> mappings)
- 
Constructor Details- 
Defaultpublic Default()
 
- 
- 
Method Details- 
lookupTypeId- Specified by:
- lookupTypeIdin interface- PersistenceTypeIdLookup
- Specified by:
- lookupTypeIdin interface- PersistenceTypeLookup
 
- 
lookupType- Specified by:
- lookupTypein interface- PersistenceTypeLookup
 
- 
validateTypeMappingpublic boolean validateTypeMapping(long typeId, Class<?> type) throws PersistenceExceptionConsistency- Specified by:
- validateTypeMappingin interface- PersistenceTypeLookup
- Throws:
- PersistenceExceptionConsistency
 
- 
validateTypeMappingspublic boolean validateTypeMappings(Iterable<? extends PersistenceTypeLink> mappings) throws PersistenceExceptionConsistency- Specified by:
- validateTypeMappingsin interface- PersistenceTypeLookup
- Throws:
- PersistenceExceptionConsistency
 
- 
registerTypespublic boolean registerTypes(Iterable<? extends PersistenceTypeLink> types) throws PersistenceExceptionConsistency- Specified by:
- registerTypesin interface- PersistenceTypeRegistry
- Throws:
- PersistenceExceptionConsistency
 
- 
registerType- Specified by:
- registerTypein interface- PersistenceTypeRegistry
 
- 
ensureTypeId- Specified by:
- ensureTypeIdin interface- PersistenceTypeManager
 
- 
currentTypeIdpublic final long currentTypeId()- Specified by:
- currentTypeIdin interface- PersistenceTypeManager
 
- 
updateCurrentHighestTypeIdpublic void updateCurrentHighestTypeId(long highestTypeId)- Specified by:
- updateCurrentHighestTypeIdin interface- PersistenceTypeManager
 
- 
ensureType- Specified by:
- ensureTypein interface- PersistenceTypeManager
 
 
-