@Deprecated public class OptimisticCreateIfNotExistsInterceptor extends OptimisticInterceptor
NodeSPI
instances in the main data structure and then copy it into the
TransactionWorkspace
as WorkspaceNode
s as needed. This is only invoked if nodes needed do not exist
in the underlying structure, they are added and the corresponding WorkspaceNode.isCreated()
would return true to denote that this node has been freshly created in the underlying structure.lockManager, txManager, txTable
configuration, log, trace
Constructor and Description |
---|
OptimisticCreateIfNotExistsInterceptor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
visitMoveCommand(InvocationContext ctx,
MoveCommand command)
Deprecated.
Visits a MoveCommand.
|
Object |
visitPutDataMapCommand(InvocationContext ctx,
PutDataMapCommand command)
Deprecated.
Visits a PutDataMapCommand.
|
Object |
visitPutForExternalReadCommand(InvocationContext ctx,
PutForExternalReadCommand command)
Deprecated.
Visits a PutForExternalReadCommand.
|
Object |
visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command)
Deprecated.
Visits a PutKeyValueCommand.
|
getGlobalTransaction, getTransactionWorkspace, greedyGetFqns, lockAndCreateWorkspaceNode, undeleteWorkspaceNode, undeleteWorkspaceNode
getNext, handleDefault, hasNext, invokeNextInterceptor, setNext
visitClearDataCommand, visitCollection, visitCommitCommand, visitCreateNodeCommand, visitEvictFqnCommand, visitExistsNodeCommand, visitGetChildrenNamesCommand, visitGetDataMapCommand, visitGetKeysCommand, visitGetKeyValueCommand, visitGetNodeCommand, visitGravitateDataCommand, visitInvalidateCommand, visitOptimisticPrepareCommand, visitPrepareCommand, visitRemoveKeyCommand, visitRemoveNodeCommand, visitRollbackCommand
public OptimisticCreateIfNotExistsInterceptor()
public Object visitPutDataMapCommand(InvocationContext ctx, PutDataMapCommand command) throws Throwable
Visitor
visitPutDataMapCommand
in interface Visitor
visitPutDataMapCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public Object visitPutForExternalReadCommand(InvocationContext ctx, PutForExternalReadCommand command) throws Throwable
Visitor
visitPutForExternalReadCommand
in interface Visitor
visitPutForExternalReadCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
Visitor
visitPutKeyValueCommand
in interface Visitor
visitPutKeyValueCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public Object visitMoveCommand(InvocationContext ctx, MoveCommand command) throws Throwable
Visitor
visitMoveCommand
in interface Visitor
visitMoveCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.