Class PersistenceObjectIdProvider.Failing
java.lang.Object
one.microstream.persistence.types.PersistenceObjectIdProvider.Failing
- All Implemented Interfaces:
PersistenceObjectIdHolder
,PersistenceObjectIdProvider
,Cloneable<PersistenceObjectIdProvider>
- Enclosing interface:
- PersistenceObjectIdProvider
public static final class PersistenceObjectIdProvider.Failing 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 Failing()
-
Method Summary
Modifier and Type Method Description PersistenceObjectIdProvider.Failing
Clone()
Useful forPersistenceContextDispatcher
.long
currentObjectId()
PersistenceObjectIdProvider.Failing
initializeObjectId()
long
provideNextObjectId()
PersistenceObjectIdProvider.Failing
updateCurrentObjectId(long currentObjectId)
-
Constructor Details
-
Failing
public Failing()
-
-
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
.
-
initializeObjectId
- Specified by:
initializeObjectId
in interfacePersistenceObjectIdProvider
-
currentObjectId
public long currentObjectId()- Specified by:
currentObjectId
in interfacePersistenceObjectIdHolder
- Specified by:
currentObjectId
in interfacePersistenceObjectIdProvider
-
updateCurrentObjectId
- Specified by:
updateCurrentObjectId
in interfacePersistenceObjectIdHolder
- Specified by:
updateCurrentObjectId
in interfacePersistenceObjectIdProvider
-
provideNextObjectId
public long provideNextObjectId()- Specified by:
provideNextObjectId
in interfacePersistenceObjectIdProvider
-