Package org.infinispan.commands.tx
Commands that represent transactional lifecycle transitions.
- Since:
- 4.0
- Author:
- Manik Surtani
-
Interface Summary Interface Description TransactionBoundaryCommand An transaction boundary command that allows the retrieval of an attachedGlobalTransaction
-
Class Summary Class Description AbstractTransactionBoundaryCommand An abstract transaction boundary command that holds a reference to aGlobalTransaction
CommitCommand Command corresponding to the 2nd phase of 2PC.PrepareCommand Command corresponding to the 1st phase of 2PC.RollbackCommand Command corresponding to a transaction rollback.VersionedCommitCommand The same as aCommitCommand
except that version information is also carried by this command, used by optimistically transactional caches making use of write skew checking when usingIsolationLevel.REPEATABLE_READ
.VersionedPrepareCommand Same asPrepareCommand
except that the transaction originator makes evident the versions of entries touched and stored in a transaction context so that accurate write skew checks may be performed by the lock owner(s).