public class RollbackCommand extends AbstractTransactionBoundaryCommand
| Modifier and Type | Field and Description |
|---|---|
static byte |
COMMAND_ID |
| Constructor and Description |
|---|
RollbackCommand(String cacheName) |
RollbackCommand(String cacheName,
GlobalTransaction globalTransaction) |
| 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() |
void |
visitRemoteTransaction(RemoteTransaction tx) |
canBlock, equals, getCacheName, getGlobalTransaction, getOrigin, getRemoteTransaction, getTopologyId, hashCode, ignoreCommandOnStatus, init, invalidRemoteTxReturnValue, isReturnValueExpected, markTransactionAsRemote, readFrom, readsExistingValues, setOrigin, setTopologyId, shouldInvoke, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitalwaysReadsExistingValuesgetParameters, setParameterspublic static final byte COMMAND_ID
public RollbackCommand(String cacheName, GlobalTransaction globalTransaction)
public RollbackCommand(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 void visitRemoteTransaction(RemoteTransaction tx)
visitRemoteTransaction in class AbstractTransactionBoundaryCommandpublic byte getCommandId()
ReplicableCommandpublic String toString()
toString in class AbstractTransactionBoundaryCommandCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.