Class PersistenceObjectIdProvider.Transient
java.lang.Object
one.microstream.persistence.types.PersistenceObjectIdProvider.Transient
- All Implemented Interfaces:
PersistenceObjectIdHolder
,PersistenceObjectIdProvider
,Cloneable<PersistenceObjectIdProvider>
- Enclosing interface:
- PersistenceObjectIdProvider
public static final class PersistenceObjectIdProvider.Transient extends Object implements PersistenceObjectIdProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceObjectIdProvider
PersistenceObjectIdProvider.Failing, PersistenceObjectIdProvider.Transient
-
Constructor Summary
Constructors Constructor Description Transient()
-
Method Summary
Modifier and Type Method Description PersistenceObjectIdProvider.Transient
Clone()
Useful forPersistenceContextDispatcher
.long
currentObjectId()
PersistenceObjectIdProvider.Transient
initializeObjectId()
long
provideNextObjectId()
PersistenceObjectIdProvider
updateCurrentObjectId(long currentObjectId)
-
Constructor Details
-
Transient
public Transient()
-
-
Method Details
-
Clone
Description copied from interface:PersistenceObjectIdProvider
Useful forPersistenceContextDispatcher
.- Specified by:
Clone
in interfaceCloneable<PersistenceObjectIdProvider>
- Specified by:
Clone
in interfacePersistenceObjectIdProvider
- Returns:
- A Clone of this instance as described in
Cloneable
.
-
provideNextObjectId
public final long provideNextObjectId()- Specified by:
provideNextObjectId
in interfacePersistenceObjectIdProvider
-
currentObjectId
public final long currentObjectId()- Specified by:
currentObjectId
in interfacePersistenceObjectIdHolder
- Specified by:
currentObjectId
in interfacePersistenceObjectIdProvider
-
initializeObjectId
- Specified by:
initializeObjectId
in interfacePersistenceObjectIdProvider
-
updateCurrentObjectId
- Specified by:
updateCurrentObjectId
in interfacePersistenceObjectIdHolder
- Specified by:
updateCurrentObjectId
in interfacePersistenceObjectIdProvider
-