Interface TxnIdGenerator
public interface TxnIdGenerator
Generator of
TxnIds.
TxnId is a identifier for a transaction.
A component in a transaction can use it as a unique key.
The TxnId
- must be unique across a JVM run
- unique across JVm runs if used as a persistent name
- Must provide value equality semantics (two
TxnIdare.equalsif
It is preferrable that the TxnId is global unique over time and space.
-
Method Summary
-
Method Details
-
generate
TxnId generate()
-