@Deprecated public abstract class OptimisticInterceptor extends CommandInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected LockManager |
lockManager
Deprecated.
|
protected TransactionManager |
txManager
Deprecated.
|
protected TransactionTable |
txTable
Deprecated.
|
configuration, log, trace| Constructor and Description |
|---|
OptimisticInterceptor()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected GlobalTransaction |
getGlobalTransaction(InvocationContext ctx)
Deprecated.
|
protected TransactionWorkspace |
getTransactionWorkspace(InvocationContext ctx)
Deprecated.
|
protected void |
greedyGetFqns(List<Fqn> list,
NodeSPI<?,?> n,
Fqn newBase)
Deprecated.
Adds the Fqn of the node as well as all children and childrens children to the list.
|
protected WorkspaceNode |
lockAndCreateWorkspaceNode(NodeFactory<?,?> nodeFactory,
NodeSPI node,
TransactionWorkspace<?,?> workspace,
GlobalTransaction gtx,
long timeout)
Deprecated.
|
protected void |
undeleteWorkspaceNode(WorkspaceNode nodeToUndelete,
TransactionWorkspace workspace)
Deprecated.
|
protected void |
undeleteWorkspaceNode(WorkspaceNode nodeToUndelete,
WorkspaceNode parent)
Deprecated.
Undeletes a node that already exists in the workspace, by setting appropriate flags and re-adding to parent's child map.
|
getNext, handleDefault, hasNext, invokeNextInterceptor, setNextvisitClearDataCommand, visitCollection, visitCommitCommand, visitCreateNodeCommand, visitEvictFqnCommand, visitExistsNodeCommand, visitGetChildrenNamesCommand, visitGetDataMapCommand, visitGetKeysCommand, visitGetKeyValueCommand, visitGetNodeCommand, visitGravitateDataCommand, visitInvalidateCommand, visitMoveCommand, visitOptimisticPrepareCommand, visitPrepareCommand, visitPutDataMapCommand, visitPutForExternalReadCommand, visitPutKeyValueCommand, visitRemoveKeyCommand, visitRemoveNodeCommand, visitRollbackCommandprotected TransactionManager txManager
protected TransactionTable txTable
protected LockManager lockManager
protected TransactionWorkspace getTransactionWorkspace(InvocationContext ctx) throws CacheException
CacheExceptionprotected void greedyGetFqns(List<Fqn> list, NodeSPI<?,?> n, Fqn newBase)
protected GlobalTransaction getGlobalTransaction(InvocationContext ctx) throws CacheException
GlobalTransaction, extracted from the current InvocationContext.CacheException - if the GlobalTransaction or Transaction associated with the
InvocationContext is null.protected void undeleteWorkspaceNode(WorkspaceNode nodeToUndelete, TransactionWorkspace workspace)
protected void undeleteWorkspaceNode(WorkspaceNode nodeToUndelete, WorkspaceNode parent)
nodeToUndelete - WorkspaceNode to undeleteparent - parent of node to undeleteprotected WorkspaceNode lockAndCreateWorkspaceNode(NodeFactory<?,?> nodeFactory, NodeSPI node, TransactionWorkspace<?,?> workspace, GlobalTransaction gtx, long timeout)
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.