public class CommitCommand extends AbstractTransactionBoundaryCommand
| Modifier and Type | Field and Description |
|---|---|
static byte |
COMMAND_ID |
| 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.
|
Object |
perform(InvocationContext ctx)
Performs the primary function of the command.
|
String |
toString() |
canBlock, equals, getCacheName, getGlobalTransaction, getOrigin, getParameters, getRemoteTransaction, getTopologyId, hashCode, ignoreCommandOnStatus, init, invalidRemoteTxReturnValue, isReturnValueExpected, markTransactionAsRemote, setOrigin, setParameters, setTopologyId, shouldInvoke, visitRemoteTransactionpublic static final byte COMMAND_ID
public CommitCommand(String cacheName, GlobalTransaction gtx)
public CommitCommand(String cacheName)
public Object perform(InvocationContext ctx) throws Throwable
ReplicableCommandperform in interface ReplicableCommandperform in class AbstractTransactionBoundaryCommandctx - invocation contextThrowable - in the event of problems.public Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
VisitableCommandctx - invocation contextvisitor - visitor to acceptThrowable - in the event of problemspublic byte getCommandId()
ReplicableCommandpublic String toString()
toString in class AbstractTransactionBoundaryCommandCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.