org.jboss.cache.lock
Class LockUtil
java.lang.Object
org.jboss.cache.lock.LockUtil
public abstract class LockUtil
- extends Object
Method Summary |
static boolean |
breakTransactionLock(Fqn fqn,
LockManager lockManager,
GlobalTransaction gtx,
boolean localTx,
TransactionTable tx_table,
TransactionManager tm)
|
static void |
manageReverseRemove(InvocationContext ctx,
NodeSPI childNode,
boolean reverseRemoveCheck,
List createdNodes,
CommandsFactory commandsFactory)
Test if this node needs to be 'undeleted'
reverse the "remove" if the node has been previously removed in the same tx, if this operation is a put() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LockUtil
public LockUtil()
breakTransactionLock
public static boolean breakTransactionLock(Fqn fqn,
LockManager lockManager,
GlobalTransaction gtx,
boolean localTx,
TransactionTable tx_table,
TransactionManager tm)
manageReverseRemove
public static void manageReverseRemove(InvocationContext ctx,
NodeSPI childNode,
boolean reverseRemoveCheck,
List createdNodes,
CommandsFactory commandsFactory)
- Test if this node needs to be 'undeleted'
reverse the "remove" if the node has been previously removed in the same tx, if this operation is a put()
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.