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 Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeManager
PersistenceTypeManager.Default - 
Method Summary
Modifier and Type Method Description protected longcreateNewTypeId()longcurrentTypeId()Class<?>ensureType(long typeId)longensureTypeId(Class<?> type)protected longinternalEnsureTypeId(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) 
- 
Method Details
- 
createNewTypeId
protected long createNewTypeId() - 
internalEnsureTypeId
 - 
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
 - 
registerType
- Specified by:
 registerTypein interfacePersistenceTypeRegistry
 - 
ensureTypeId
- Specified by:
 ensureTypeIdin interfacePersistenceTypeManager
 - 
currentTypeId
public final long currentTypeId()- Specified by:
 currentTypeIdin interfacePersistenceTypeManager
 - 
updateCurrentHighestTypeId
public void updateCurrentHighestTypeId(long highestTypeId)- Specified by:
 updateCurrentHighestTypeIdin interfacePersistenceTypeManager
 - 
ensureType
- Specified by:
 ensureTypein interfacePersistenceTypeManager
 
 -