Class TotalOrderCommitCommand
- java.lang.Object
-
- org.infinispan.commands.tx.AbstractTransactionBoundaryCommand
-
- org.infinispan.commands.tx.CommitCommand
-
- org.infinispan.commands.tx.totalorder.TotalOrderCommitCommand
-
- All Implemented Interfaces:
CacheRpcCommand
,ReplicableCommand
,TopologyAffectedCommand
,TransactionBoundaryCommand
,VisitableCommand
public class TotalOrderCommitCommand extends CommitCommand
Commit Command used in the 2nd phase of 2PC. This command is used when non versioned entries are needed- Since:
- 5.3
- Author:
- Pedro Ruivo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.infinispan.commands.VisitableCommand
VisitableCommand.LoadType
-
-
Field Summary
Fields Modifier and Type Field Description static byte
COMMAND_ID
-
Constructor Summary
Constructors Constructor Description TotalOrderCommitCommand(ByteString cacheName)
TotalOrderCommitCommand(ByteString cacheName, GlobalTransaction gtx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getCommandId()
Used by marshallers to convert this command into an id for streaming.-
Methods inherited from class org.infinispan.commands.tx.CommitCommand
acceptVisitor, invalidRemoteTxReturnValue, toString
-
Methods inherited from class org.infinispan.commands.tx.AbstractTransactionBoundaryCommand
canBlock, equals, getCacheName, getGlobalTransaction, getOrigin, getTopologyId, hashCode, init, invokeAsync, isReturnValueExpected, loadType, markTransactionAsRemote, perform, readFrom, setOrigin, setTopologyId, visitRemoteTransaction, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.infinispan.commands.ReplicableCommand
invoke, isSuccessful
-
Methods inherited from interface org.infinispan.commands.VisitableCommand
ignoreCommandOnStatus, shouldInvoke
-
-
-
-
Field Detail
-
COMMAND_ID
public static final byte COMMAND_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TotalOrderCommitCommand
public TotalOrderCommitCommand(ByteString cacheName, GlobalTransaction gtx)
-
TotalOrderCommitCommand
public TotalOrderCommitCommand(ByteString cacheName)
-
-
Method Detail
-
getCommandId
public byte getCommandId()
Description copied from interface:ReplicableCommand
Used by marshallers to convert this command into an id for streaming.- Specified by:
getCommandId
in interfaceReplicableCommand
- Overrides:
getCommandId
in classCommitCommand
- Returns:
- the method id of this command. This is compatible with pre-2.2.0 MethodCall ids.
-
-