org.jboss.cache.commands.tx
Class CommitCommand
java.lang.Object
  
org.jboss.cache.commands.tx.AbstractTransactionCommand
      
org.jboss.cache.commands.tx.CommitCommand
- All Implemented Interfaces: 
 - ReplicableCommand, VisitableCommand
 
public class CommitCommand
- extends AbstractTransactionCommand
 
Represents a commit() call, the 2nd part of a 2-phase commit.
- Since:
 
  - 2.2
 
- Author:
 
  - Mircea.Markus@jboss.com
 
 
 
 
 
 
 
METHOD_ID
public static final int METHOD_ID
- See Also:
 - Constant Field Values
 
CommitCommand
public CommitCommand(GlobalTransaction globalTransaction)
CommitCommand
public CommitCommand()
acceptVisitor
public Object acceptVisitor(InvocationContext ctx,
                            Visitor visitor)
                     throws Throwable
- Description copied from interface: 
VisitableCommand 
- Accept a visitor, and return the result of accepting this visitor.
- Parameters:
 ctx - invocation contextvisitor - visitor to accept
- Returns:
 - arbitrary return value
 - Throws:
 Throwable - in the event of problems
 
 
getCommandId
public int getCommandId()
- Description copied from interface: 
ReplicableCommand 
- Used by marshallers to convert this command into an id for streaming.
- Returns:
 - the method id of this command.  This is compatible with pre-2.2.0 MethodCall ids.
 
 
 
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.