org.jboss.cache.interceptors
Class OptimisticReplicationInterceptor.DataVersionPopulator
java.lang.Object
org.jboss.cache.commands.AbstractVisitor
org.jboss.cache.interceptors.OptimisticReplicationInterceptor.DataVersionPopulator
- All Implemented Interfaces:
- Visitor
- Enclosing class:
- OptimisticReplicationInterceptor
public class OptimisticReplicationInterceptor.DataVersionPopulator
- extends AbstractVisitor
|
Method Summary |
Object |
handleDefault(InvocationContext ctx,
VisitableCommand command)
A default handler for all commands visited. |
Object |
visitClearDataCommand(InvocationContext ctx,
ClearDataCommand command)
Visits a RemoveDataCommand. |
Object |
visitCreateNodeCommand(InvocationContext ctx,
CreateNodeCommand command)
Visits a CreateNodeCommand. |
Object |
visitGravitateDataCommand(InvocationContext ctx,
GravitateDataCommand command)
Visits a GravitateDataCommand. |
Object |
visitMoveCommand(InvocationContext ctx,
MoveCommand command)
Visits a MoveCommand. |
Object |
visitPutDataMapCommand(InvocationContext ctx,
PutDataMapCommand command)
Visits a PutDataMapCommand. |
Object |
visitPutForExternalReadCommand(InvocationContext ctx,
PutForExternalReadCommand command)
Visits a PutForExternalReadCommand. |
Object |
visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command)
Visits a PutKeyValueCommand. |
Object |
visitRemoveKeyCommand(InvocationContext ctx,
RemoveKeyCommand command)
Visits a RemoveKeyCommand. |
Object |
visitRemoveNodeCommand(InvocationContext ctx,
RemoveNodeCommand command)
Visits a RemoveNodeCommand. |
| Methods inherited from class org.jboss.cache.commands.AbstractVisitor |
visitCollection, visitCommitCommand, visitEvictFqnCommand, visitExistsNodeCommand, visitGetChildrenNamesCommand, visitGetDataMapCommand, visitGetKeysCommand, visitGetKeyValueCommand, visitGetNodeCommand, visitInvalidateCommand, visitOptimisticPrepareCommand, visitPrepareCommand, visitRollbackCommand |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptimisticReplicationInterceptor.DataVersionPopulator
public OptimisticReplicationInterceptor.DataVersionPopulator(TransactionWorkspace workspace,
int numCommands)
visitGravitateDataCommand
public Object visitGravitateDataCommand(InvocationContext ctx,
GravitateDataCommand command)
throws Throwable
- Description copied from interface:
Visitor
- Visits a GravitateDataCommand.
- Specified by:
visitGravitateDataCommand in interface Visitor- Overrides:
visitGravitateDataCommand in class AbstractVisitor
- Parameters:
ctx - invocation contextcommand - command to visit
- Returns:
- response from the visit
- Throws:
Throwable - in the event of problems.
visitPutDataMapCommand
public Object visitPutDataMapCommand(InvocationContext ctx,
PutDataMapCommand command)
throws Throwable
- Description copied from interface:
Visitor
- Visits a PutDataMapCommand.
- Specified by:
visitPutDataMapCommand in interface Visitor- Overrides:
visitPutDataMapCommand in class AbstractVisitor
- Parameters:
ctx - invocation contextcommand - command to visit
- Returns:
- response from the visit
- Throws:
Throwable - in the event of problems.
visitPutKeyValueCommand
public Object visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command)
throws Throwable
- Description copied from interface:
Visitor
- Visits a PutKeyValueCommand.
- Specified by:
visitPutKeyValueCommand in interface Visitor- Overrides:
visitPutKeyValueCommand in class AbstractVisitor
- Parameters:
ctx - invocation contextcommand - command to visit
- Returns:
- response from the visit
- Throws:
Throwable - in the event of problems.
visitPutForExternalReadCommand
public Object visitPutForExternalReadCommand(InvocationContext ctx,
PutForExternalReadCommand command)
throws Throwable
- Description copied from interface:
Visitor
- Visits a PutForExternalReadCommand.
- Specified by:
visitPutForExternalReadCommand in interface Visitor- Overrides:
visitPutForExternalReadCommand in class AbstractVisitor
- Parameters:
ctx - invocation contextcommand - command to visit
- Returns:
- response from the visit
- Throws:
Throwable - in the event of problems.
visitRemoveNodeCommand
public Object visitRemoveNodeCommand(InvocationContext ctx,
RemoveNodeCommand command)
throws Throwable
- Description copied from interface:
Visitor
- Visits a RemoveNodeCommand.
- Specified by:
visitRemoveNodeCommand in interface Visitor- Overrides:
visitRemoveNodeCommand in class AbstractVisitor
- Parameters:
ctx - invocation contextcommand - command to visit
- Returns:
- response from the visit
- Throws:
Throwable - in the event of problems.
visitRemoveKeyCommand
public Object visitRemoveKeyCommand(InvocationContext ctx,
RemoveKeyCommand command)
throws Throwable
- Description copied from interface:
Visitor
- Visits a RemoveKeyCommand.
- Specified by:
visitRemoveKeyCommand in interface Visitor- Overrides:
visitRemoveKeyCommand in class AbstractVisitor
- Parameters:
ctx - invocation contextcommand - command to visit
- Returns:
- response from the visit
- Throws:
Throwable - in the event of problems.
visitClearDataCommand
public Object visitClearDataCommand(InvocationContext ctx,
ClearDataCommand command)
throws Throwable
- Description copied from interface:
Visitor
- Visits a RemoveDataCommand.
- Specified by:
visitClearDataCommand in interface Visitor- Overrides:
visitClearDataCommand in class AbstractVisitor
- Parameters:
ctx - invocation contextcommand - command to visit
- Returns:
- response from the visit
- Throws:
Throwable - in the event of problems.
visitCreateNodeCommand
public Object visitCreateNodeCommand(InvocationContext ctx,
CreateNodeCommand command)
throws Throwable
- Description copied from interface:
Visitor
- Visits a CreateNodeCommand.
- Specified by:
visitCreateNodeCommand in interface Visitor- Overrides:
visitCreateNodeCommand in class AbstractVisitor
- Parameters:
ctx - invocation contextcommand - command to visit
- Returns:
- response from the visit
- Throws:
Throwable - in the event of problems.
visitMoveCommand
public Object visitMoveCommand(InvocationContext ctx,
MoveCommand command)
throws Throwable
- Description copied from interface:
Visitor
- Visits a MoveCommand.
- Specified by:
visitMoveCommand in interface Visitor- Overrides:
visitMoveCommand in class AbstractVisitor
- Parameters:
ctx - invocation contextcommand - command to visit
- Returns:
- response from the visit
- Throws:
Throwable - in the event of problems.
handleDefault
public Object handleDefault(InvocationContext ctx,
VisitableCommand command)
throws Throwable
- Description copied from class:
AbstractVisitor
- A default handler for all commands visited. This is called for any visit method called, unless a visit command is
appropriately overridden.
- Overrides:
handleDefault in class AbstractVisitor
- Parameters:
ctx - invocation contextcommand - command to handle
- Returns:
- return value
- Throws:
Throwable - in the case of a problem
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.