org.jboss.cache.lock
Class LockUtil

java.lang.Object
  extended by org.jboss.cache.lock.LockUtil

public abstract class LockUtil
extends Object


Constructor Summary
LockUtil()
           
 
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
 

Constructor Detail

LockUtil

public LockUtil()
Method Detail

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 © 2009 JBoss, a division of Red Hat. All Rights Reserved.