|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.commands.AbstractVisitor
org.jboss.cache.buddyreplication.Fqn2BuddyFqnVisitor
public class Fqn2BuddyFqnVisitor
For each command the fqns are changed such that they are under the current buddy group's backup subtree (e.g., /_buddy_backup_/my_host:7890/) rather than the root (/).
| Constructor Summary | |
|---|---|
Fqn2BuddyFqnVisitor(String buddyGroupName)
|
|
Fqn2BuddyFqnVisitor(String buddyGroupName,
CommandsFactory cf)
|
|
| Methods inherited from class org.jboss.cache.commands.AbstractVisitor |
|---|
handleDefault, visitCollection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Fqn2BuddyFqnVisitor(String buddyGroupName)
public Fqn2BuddyFqnVisitor(String buddyGroupName,
CommandsFactory cf)
| Method Detail |
|---|
public Object visitCommitCommand(InvocationContext ctx,
CommitCommand commitCommand)
throws Throwable
Visitor
visitCommitCommand in interface VisitorvisitCommitCommand in class AbstractVisitorctx - invocation contextcommitCommand - command to visit
Throwable - in the event of problems.
public Object visitPutDataMapCommand(InvocationContext ctx,
PutDataMapCommand command)
throws Throwable
Visitor
visitPutDataMapCommand in interface VisitorvisitPutDataMapCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command)
throws Throwable
Visitor
visitPutKeyValueCommand in interface VisitorvisitPutKeyValueCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitPutForExternalReadCommand(InvocationContext ctx,
PutForExternalReadCommand command)
throws Throwable
Visitor
visitPutForExternalReadCommand in interface VisitorvisitPutForExternalReadCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitRemoveNodeCommand(InvocationContext ctx,
RemoveNodeCommand command)
throws Throwable
Visitor
visitRemoveNodeCommand in interface VisitorvisitRemoveNodeCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitClearDataCommand(InvocationContext ctx,
ClearDataCommand command)
throws Throwable
Visitor
visitClearDataCommand in interface VisitorvisitClearDataCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitEvictFqnCommand(InvocationContext ctx,
EvictCommand command)
throws Throwable
Visitor
visitEvictFqnCommand in interface VisitorvisitEvictFqnCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitInvalidateCommand(InvocationContext ctx,
InvalidateCommand command)
throws Throwable
Visitor
visitInvalidateCommand in interface VisitorvisitInvalidateCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitRemoveKeyCommand(InvocationContext ctx,
RemoveKeyCommand command)
throws Throwable
Visitor
visitRemoveKeyCommand in interface VisitorvisitRemoveKeyCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitGetDataMapCommand(InvocationContext ctx,
GetDataMapCommand command)
throws Throwable
Visitor
visitGetDataMapCommand in interface VisitorvisitGetDataMapCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitExistsNodeCommand(InvocationContext ctx,
ExistsCommand command)
throws Throwable
Visitor
visitExistsNodeCommand in interface VisitorvisitExistsNodeCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitGetKeyValueCommand(InvocationContext ctx,
GetKeyValueCommand command)
throws Throwable
Visitor
visitGetKeyValueCommand in interface VisitorvisitGetKeyValueCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitGetNodeCommand(InvocationContext ctx,
GetNodeCommand command)
throws Throwable
Visitor
visitGetNodeCommand in interface VisitorvisitGetNodeCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitGetKeysCommand(InvocationContext ctx,
GetKeysCommand command)
throws Throwable
Visitor
visitGetKeysCommand in interface VisitorvisitGetKeysCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitGetChildrenNamesCommand(InvocationContext ctx,
GetChildrenNamesCommand command)
throws Throwable
Visitor
visitGetChildrenNamesCommand in interface VisitorvisitGetChildrenNamesCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitMoveCommand(InvocationContext ctx,
MoveCommand command)
throws Throwable
Visitor
visitMoveCommand in interface VisitorvisitMoveCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitGravitateDataCommand(InvocationContext ctx,
GravitateDataCommand command)
throws Throwable
Visitor
visitGravitateDataCommand in interface VisitorvisitGravitateDataCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitPrepareCommand(InvocationContext ctx,
PrepareCommand command)
throws Throwable
Visitor
visitPrepareCommand in interface VisitorvisitPrepareCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitRollbackCommand(InvocationContext ctx,
RollbackCommand command)
throws Throwable
Visitor
visitRollbackCommand in interface VisitorvisitRollbackCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitOptimisticPrepareCommand(InvocationContext ctx,
OptimisticPrepareCommand command)
throws Throwable
Visitor
visitOptimisticPrepareCommand in interface VisitorvisitOptimisticPrepareCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public Object visitCreateNodeCommand(InvocationContext ctx,
CreateNodeCommand command)
throws Throwable
Visitor
visitCreateNodeCommand in interface VisitorvisitCreateNodeCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
Throwable - in the event of problems.
public List<WriteCommand> transformBatch(List<WriteCommand> toTransform)
throws Throwable
Throwablepublic Fqn getBackupFqn(Fqn originalFqn)
public void setBuddyFqnTransformer(BuddyFqnTransformer buddyFqnTransformer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||