public class CommitCommand extends AbstractTransactionBoundaryCommand
Modifier and Type | Field and Description |
---|---|
static byte |
COMMAND_ID |
static byte |
RESEND_PREPARE
This is sent back to callers if the global transaction is not reconised.
|
cacheName, configuration, globalTx, icc, invoker, txTable
Constructor and Description |
---|
CommitCommand(String cacheName) |
CommitCommand(String cacheName,
GlobalTransaction gtx) |
Modifier and Type | Method and Description |
---|---|
Object |
acceptVisitor(InvocationContext ctx,
Visitor visitor)
Accept a visitor, and return the result of accepting this visitor.
|
byte |
getCommandId()
Used by marshallers to convert this command into an id for streaming.
|
protected Object |
invalidRemoteTxReturnValue()
This is what is returned to remote callers when an invalid RemoteTransaction is encountered.
|
String |
toString() |
equals, getCacheName, getConfiguration, getGlobalTransaction, getOrigin, getParameters, hashCode, ignoreCommandOnStatus, init, injectComponents, isReturnValueExpected, markTransactionAsRemote, perform, setOrigin, setParameters, shouldInvoke, visitRemoteTransaction
public static final byte COMMAND_ID
public static final byte RESEND_PREPARE
public CommitCommand(String cacheName, GlobalTransaction gtx)
public CommitCommand(String cacheName)
protected Object invalidRemoteTxReturnValue()
AbstractTransactionBoundaryCommand
invalidRemoteTxReturnValue
in class AbstractTransactionBoundaryCommand
public Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
VisitableCommand
ctx
- invocation contextvisitor
- visitor to acceptThrowable
- in the event of problemspublic byte getCommandId()
ReplicableCommand
public String toString()
toString
in class AbstractTransactionBoundaryCommand
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.