Class ServerTransactionManager.InitialSequenceIdPolicy.Default
- java.lang.Object
-
- cz.o2.proxima.direct.core.transaction.ServerTransactionManager.InitialSequenceIdPolicy.Default
-
- All Implemented Interfaces:
ServerTransactionManager.InitialSequenceIdPolicy
,java.io.Serializable
- Enclosing interface:
- ServerTransactionManager.InitialSequenceIdPolicy
public static class ServerTransactionManager.InitialSequenceIdPolicy.Default extends java.lang.Object implements ServerTransactionManager.InitialSequenceIdPolicy
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cz.o2.proxima.direct.core.transaction.ServerTransactionManager.InitialSequenceIdPolicy
ServerTransactionManager.InitialSequenceIdPolicy.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
apply()
Retrieve an initial seed for sequential ID.
-
-
-
Method Detail
-
apply
public long apply()
Description copied from interface:ServerTransactionManager.InitialSequenceIdPolicy
Retrieve an initial seed for sequential ID.- Specified by:
apply
in interfaceServerTransactionManager.InitialSequenceIdPolicy
- Returns:
- the new lower bound for sequential ID.
-
-