|
||||||||||
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.interceptors.base.CommandInterceptor
org.jboss.cache.interceptors.OptimisticInterceptor
@Deprecated public abstract class OptimisticInterceptor
Abstract interceptor for optimistic locking
Field Summary | |
---|---|
protected LockManager |
lockManager
Deprecated. |
protected TransactionManager |
txManager
Deprecated. |
protected TransactionTable |
txTable
Deprecated. |
Fields inherited from class org.jboss.cache.interceptors.base.CommandInterceptor |
---|
configuration, log, trace |
Constructor Summary | |
---|---|
OptimisticInterceptor()
Deprecated. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.jboss.cache.interceptors.base.CommandInterceptor |
---|
getNext, handleDefault, hasNext, invokeNextInterceptor, setNext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TransactionManager txManager
protected TransactionTable txTable
protected LockManager lockManager
Constructor Detail |
---|
public OptimisticInterceptor()
Method Detail |
---|
protected TransactionWorkspace getTransactionWorkspace(InvocationContext ctx) throws CacheException
CacheException
protected 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |