|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Visitor
This interface is the core of JBoss Cache, where each VisitableCommand can be visited by a Visitor implementation.
Visitors which are accepted by the VisitableCommand are able to modify the command
based on any logic encapsulated by the visitor.
| Method Summary | |
|---|---|
java.lang.Object |
visitClearDataCommand(InvocationContext ctx,
ClearDataCommand command)
Visits a RemoveDataCommand. |
java.lang.Object |
visitCommitCommand(InvocationContext ctx,
CommitCommand command)
Visits a CommitCommand. |
java.lang.Object |
visitCreateNodeCommand(InvocationContext ctx,
CreateNodeCommand command)
Deprecated. in 3.0. Will be removed once optimistic and pessimistic locking is removed. |
java.lang.Object |
visitEvictFqnCommand(InvocationContext ctx,
EvictCommand command)
Visits a EvictCommand. |
java.lang.Object |
visitExistsNodeCommand(InvocationContext ctx,
ExistsCommand command)
Visits a RemoteExistsCommand. |
java.lang.Object |
visitGetDataMapCommand(InvocationContext ctx,
GetDataMapCommand command)
Visits a GetDataMapCommand. |
java.lang.Object |
visitGetChildrenNamesCommand(InvocationContext ctx,
GetChildrenNamesCommand command)
Visits a GetChildrenNamesCommand. |
java.lang.Object |
visitGetKeysCommand(InvocationContext ctx,
GetKeysCommand command)
Visits a GetKeysCommand. |
java.lang.Object |
visitGetKeyValueCommand(InvocationContext ctx,
GetKeyValueCommand command)
Visits a GetKeyValueCommand. |
java.lang.Object |
visitGetNodeCommand(InvocationContext ctx,
GetNodeCommand command)
Visits a GetNodeCommand. |
java.lang.Object |
visitGravitateDataCommand(InvocationContext ctx,
GravitateDataCommand command)
Visits a GravitateDataCommand. |
java.lang.Object |
visitInvalidateCommand(InvocationContext ctx,
InvalidateCommand command)
Visits a InvalidateCommand. |
java.lang.Object |
visitMoveCommand(InvocationContext ctx,
MoveCommand command)
Visits a MoveCommand. |
java.lang.Object |
visitOptimisticPrepareCommand(InvocationContext ctx,
OptimisticPrepareCommand command)
Visits a OptimisticPrepareCommand. |
java.lang.Object |
visitPrepareCommand(InvocationContext ctx,
PrepareCommand command)
Visits a PrepareCommand. |
java.lang.Object |
visitPutDataMapCommand(InvocationContext ctx,
PutDataMapCommand command)
Visits a PutDataMapCommand. |
java.lang.Object |
visitPutForExternalReadCommand(InvocationContext ctx,
PutForExternalReadCommand command)
Visits a PutForExternalReadCommand. |
java.lang.Object |
visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command)
Visits a PutKeyValueCommand. |
java.lang.Object |
visitRemoveKeyCommand(InvocationContext ctx,
RemoveKeyCommand command)
Visits a RemoveKeyCommand. |
java.lang.Object |
visitRemoveNodeCommand(InvocationContext ctx,
RemoveNodeCommand command)
Visits a RemoveNodeCommand. |
java.lang.Object |
visitRollbackCommand(InvocationContext ctx,
RollbackCommand command)
Visits a RollbackCommand. |
| Method Detail |
|---|
java.lang.Object visitPutDataMapCommand(InvocationContext ctx,
PutDataMapCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitPutForExternalReadCommand(InvocationContext ctx,
PutForExternalReadCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitRemoveNodeCommand(InvocationContext ctx,
RemoveNodeCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitClearDataCommand(InvocationContext ctx,
ClearDataCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitEvictFqnCommand(InvocationContext ctx,
EvictCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitInvalidateCommand(InvocationContext ctx,
InvalidateCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitRemoveKeyCommand(InvocationContext ctx,
RemoveKeyCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitGetDataMapCommand(InvocationContext ctx,
GetDataMapCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitExistsNodeCommand(InvocationContext ctx,
ExistsCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitGetKeyValueCommand(InvocationContext ctx,
GetKeyValueCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitGetNodeCommand(InvocationContext ctx,
GetNodeCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitGetKeysCommand(InvocationContext ctx,
GetKeysCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitGetChildrenNamesCommand(InvocationContext ctx,
GetChildrenNamesCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitMoveCommand(InvocationContext ctx,
MoveCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitGravitateDataCommand(InvocationContext ctx,
GravitateDataCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitPrepareCommand(InvocationContext ctx,
PrepareCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitRollbackCommand(InvocationContext ctx,
RollbackCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitCommitCommand(InvocationContext ctx,
CommitCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
java.lang.Object visitOptimisticPrepareCommand(InvocationContext ctx,
OptimisticPrepareCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
@Deprecated
java.lang.Object visitCreateNodeCommand(InvocationContext ctx,
CreateNodeCommand command)
throws java.lang.Throwable
ctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||