Class PersistenceTypeIdProvider.Transient
- java.lang.Object
-
- one.microstream.persistence.types.PersistenceTypeIdProvider.Transient
-
- All Implemented Interfaces:
PersistenceTypeIdHolder
,PersistenceTypeIdProvider
- Enclosing interface:
- PersistenceTypeIdProvider
public static final class PersistenceTypeIdProvider.Transient extends Object implements PersistenceTypeIdProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeIdProvider
PersistenceTypeIdProvider.Failing, PersistenceTypeIdProvider.Transient
-
-
Constructor Summary
Constructors Constructor Description Transient()
-
Method Summary
Modifier and Type Method Description long
currentTypeId()
PersistenceTypeIdProvider.Transient
initializeTypeId()
long
provideNextTypeId()
PersistenceTypeIdProvider
updateCurrentTypeId(long currentTypeId)
-
-
-
Method Detail
-
provideNextTypeId
public final long provideNextTypeId()
- Specified by:
provideNextTypeId
in interfacePersistenceTypeIdProvider
-
currentTypeId
public final long currentTypeId()
- Specified by:
currentTypeId
in interfacePersistenceTypeIdHolder
-
initializeTypeId
public final PersistenceTypeIdProvider.Transient initializeTypeId()
- Specified by:
initializeTypeId
in interfacePersistenceTypeIdProvider
-
updateCurrentTypeId
public final PersistenceTypeIdProvider updateCurrentTypeId(long currentTypeId)
- Specified by:
updateCurrentTypeId
in interfacePersistenceTypeIdProvider
-
-