Package one.microstream.com
Class ComDefaultIdStrategy
- java.lang.Object
-
- one.microstream.com.ComDefaultIdStrategy
-
- All Implemented Interfaces:
PersistenceIdStrategy
,PersistenceObjectIdStrategy
,PersistenceTypeIdStrategy
public final class ComDefaultIdStrategy extends Object implements PersistenceIdStrategy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceIdStrategy
PersistenceIdStrategy.Default
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceObjectIdStrategy
PersistenceObjectIdStrategy.Assembler<S extends PersistenceObjectIdStrategy>, PersistenceObjectIdStrategy.None, PersistenceObjectIdStrategy.Parser<S extends PersistenceObjectIdStrategy>, PersistenceObjectIdStrategy.Transient
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeIdStrategy
PersistenceTypeIdStrategy.Assembler<S extends PersistenceTypeIdStrategy>, PersistenceTypeIdStrategy.None, PersistenceTypeIdStrategy.Parser<S extends PersistenceTypeIdStrategy>, PersistenceTypeIdStrategy.Transient
-
-
Constructor Summary
Constructors Constructor Description ComDefaultIdStrategy()
-
Method Summary
Modifier and Type Method Description CompositeIdProvider
createIdProvider()
static ComDefaultIdStrategy
New(long startingObjectId)
PersistenceObjectIdStrategy.Transient
objectIdStragegy()
long
startingObjectId()
PersistenceTypeIdStrategy.None
typeIdStragegy()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.persistence.types.PersistenceIdStrategy
createObjectIdProvider, createTypeIdProvider, strategyTypeNameObjectId
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeIdStrategy
strategyTypeNameTypeId
-
-
-
-
Method Detail
-
New
public static ComDefaultIdStrategy New(long startingObjectId)
-
objectIdStragegy
public PersistenceObjectIdStrategy.Transient objectIdStragegy()
- Specified by:
objectIdStragegy
in interfacePersistenceIdStrategy
-
typeIdStragegy
public PersistenceTypeIdStrategy.None typeIdStragegy()
- Specified by:
typeIdStragegy
in interfacePersistenceIdStrategy
-
startingObjectId
public final long startingObjectId()
-
createIdProvider
public CompositeIdProvider createIdProvider()
-
-