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 long
currentTypeId()
FileTypeIdProvider
initializeTypeId()
static FileTypeIdProvider
New(AFile file, long increase)
static FileTypeIdProvider
New(AFile file, long increase, long startId)
long
provideNextTypeId()
FileTypeIdProvider
updateCurrentTypeId(long currentTypeId)
Methods inherited from class one.microstream.persistence.internal.AbstractIdProviderByFile
current, internalInitialize, internalUpdateId, next, provideDefaultId, readId, writeId
Methods inherited from class one.microstream.persistence.internal.AbstractProviderByFile
canRead, read, write, write
-
Method Details
-
New
-
New
-
provideNextTypeId
public final long provideNextTypeId()- Specified by:
provideNextTypeId
in interfacePersistenceTypeIdProvider
-
currentTypeId
public final long currentTypeId()- Specified by:
currentTypeId
in interfacePersistenceTypeIdHolder
-
initializeTypeId
- Specified by:
initializeTypeId
in interfacePersistenceTypeIdProvider
-
updateCurrentTypeId
- Specified by:
updateCurrentTypeId
in interfacePersistenceTypeIdProvider
-