D - the data typepublic class PersistenceTypeHandlerProviderFailing<D> extends PersistenceDataTypeHolder.Default<D> implements PersistenceTypeHandlerProvider<D>
PersistenceExceptionTypeNotPersistable for every type.
Useful if only pre-registered types shall be handleable and every unhandled type shall be indicated to be unpersistable.
PersistenceTypeManager.DefaultPersistenceTypeHandlerEnsurer.Default<D>dataTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitNewNewNewdataTypepublic <T> PersistenceTypeHandler<D,T> provideTypeHandler(Class<T> type) throws PersistenceExceptionTypeNotPersistable
provideTypeHandler in interface PersistenceTypeHandlerProvider<D>PersistenceExceptionTypeNotPersistablepublic long ensureTypeId(Class<?> type)
ensureTypeId in interface PersistenceTypeManagerpublic Class<?> ensureType(long typeId)
ensureType in interface PersistenceTypeManagerpublic long currentTypeId()
currentTypeId in interface PersistenceTypeManagerpublic long lookupTypeId(Class<?> type)
lookupTypeId in interface PersistenceTypeIdLookuplookupTypeId in interface PersistenceTypeLookuppublic <T> Class<T> lookupType(long typeId)
lookupType in interface PersistenceTypeLookuppublic boolean validateTypeMapping(long typeId,
Class<?> type)
throws PersistenceExceptionConsistency
validateTypeMapping in interface PersistenceTypeLookupPersistenceExceptionConsistencypublic boolean validateTypeMappings(Iterable<? extends PersistenceTypeLink> mappings) throws PersistenceExceptionConsistency
validateTypeMappings in interface PersistenceTypeLookupPersistenceExceptionConsistencypublic boolean registerType(long tid,
Class<?> type)
throws PersistenceExceptionConsistency
registerType in interface PersistenceTypeRegistryPersistenceExceptionConsistencypublic boolean registerTypes(Iterable<? extends PersistenceTypeLink> types) throws PersistenceExceptionConsistency
registerTypes in interface PersistenceTypeRegistryPersistenceExceptionConsistencypublic void updateCurrentHighestTypeId(long highestTypeId)
updateCurrentHighestTypeId in interface PersistenceTypeManagerpublic final <T> PersistenceTypeHandler<D,T> ensureTypeHandler(Class<T> type) throws PersistenceExceptionTypeNotPersistable
ensureTypeHandler in interface PersistenceTypeHandlerEnsurer<D>ensureTypeHandler in interface PersistenceTypeHandlerProvider<D>PersistenceExceptionTypeNotPersistablepublic final <C extends Consumer<? super PersistenceTypeHandler<D,?>>> C iterateTypeHandlers(C iterator)
iterateTypeHandlers in interface PersistenceTypeHandlerIterable<D>public <C extends Consumer<? super PersistenceLegacyTypeHandler<D,?>>> C iterateLegacyTypeHandlers(C iterator)
iterateLegacyTypeHandlers in interface PersistenceTypeHandlerIterable<D>public <C extends Consumer<? super PersistenceTypeHandler<D,?>>> C iterateAllTypeHandlers(C iterator)
iterateAllTypeHandlers in interface PersistenceTypeHandlerIterable<D>public void iteratePerIds(BiConsumer<Long,? super Class<?>> consumer)
iteratePerIds in interface PersistenceTypeRegistryCopyright © 2022 MicroStream Software. All rights reserved.