|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.lock.LockUtil
public abstract class LockUtil
| Constructor Summary | |
|---|---|
LockUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
breakTransactionLock(NodeLock lock,
GlobalTransaction gtx,
boolean localTx,
CacheImpl cache)
|
static void |
forceAcquireLock(NodeSPI<?,?> node,
java.lang.Object newOwner,
CacheImpl cache,
boolean lockChildren)
Forcibly acquire a read lock on the given node for the given owner, breaking any existing locks that prevent the read lock. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LockUtil()
| Method Detail |
|---|
public static boolean breakTransactionLock(NodeLock lock,
GlobalTransaction gtx,
boolean localTx,
CacheImpl cache)
public static void forceAcquireLock(NodeSPI<?,?> node,
java.lang.Object newOwner,
CacheImpl cache,
boolean lockChildren)
node - the nodenewOwner - the new owner (usually a Thread or GlobalTransaction)lockChildren - true if this method should be recursively
applied to node's children.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||