Class FileTypeIdProvider
java.lang.Object
one.microstream.persistence.internal.AbstractProviderByFile
one.microstream.persistence.internal.AbstractIdProviderByFile
one.microstream.persistence.internal.FileTypeIdProvider
- All Implemented Interfaces:
PersistenceTypeIdHolder,PersistenceTypeIdProvider
public final class FileTypeIdProvider extends AbstractIdProviderByFile implements PersistenceTypeIdProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeIdProvider
PersistenceTypeIdProvider.Failing, PersistenceTypeIdProvider.Transient -
Method Summary
Modifier and Type Method Description longcurrentTypeId()FileTypeIdProviderinitializeTypeId()static FileTypeIdProviderNew(AFile file, long increase)static FileTypeIdProviderNew(AFile file, long increase, long startId)longprovideNextTypeId()FileTypeIdProviderupdateCurrentTypeId(long currentTypeId)Methods inherited from class one.microstream.persistence.internal.AbstractIdProviderByFile
current, internalInitialize, internalUpdateId, next, provideDefaultId, readId, writeIdMethods inherited from class one.microstream.persistence.internal.AbstractProviderByFile
canRead, read, write, write
-
Method Details
-
New
-
New
-
provideNextTypeId
public final long provideNextTypeId()- Specified by:
provideNextTypeIdin interfacePersistenceTypeIdProvider
-
currentTypeId
public final long currentTypeId()- Specified by:
currentTypeIdin interfacePersistenceTypeIdHolder
-
initializeTypeId
- Specified by:
initializeTypeIdin interfacePersistenceTypeIdProvider
-
updateCurrentTypeId
- Specified by:
updateCurrentTypeIdin interfacePersistenceTypeIdProvider
-