Package | Description |
---|---|
org.jboss.cache.lock |
Modifier and Type | Class and Description |
---|---|
class |
DeadlockException
Used when a lock acquisition would cause a deadlock.
|
class |
UpgradeException
Used when a read-lock cannot be upgraded to a write-lock
|
Modifier and Type | Method and Description |
---|---|
boolean |
IdentityLock.acquire(Object caller,
long timeout,
LockType lock_type)
Deprecated.
|
boolean |
NodeLock.acquire(Object caller,
long timeout,
LockType lock_type)
Deprecated.
|
Set<NodeLock> |
IdentityLock.acquireAll(Object caller,
long timeout,
LockType lock_type)
Deprecated.
|
Set<NodeLock> |
NodeLock.acquireAll(Object caller,
long timeout,
LockType lock_type)
Deprecated.
Recursively acquire locks for this node and all subnodes, including internal Fqns such as buddy backup subtrees.
|
Set<NodeLock> |
IdentityLock.acquireAll(Object caller,
long timeout,
LockType lock_type,
boolean excludeInternalFqns)
Deprecated.
|
Set<NodeLock> |
NodeLock.acquireAll(Object caller,
long timeout,
LockType lock_type,
boolean excludeInternalFqns)
Deprecated.
Same as the overloaded
NodeLock.acquire(Object, long, LockType) except that you can
optionally specify that internal Fqns - such as buddy backup subtrees - can be excluded when acquiring locks. |
boolean |
IdentityLock.acquireReadLock(Object caller,
long timeout)
Deprecated.
Acquire a read lock with a timeout period of
timeout milliseconds. |
boolean |
NodeLock.acquireReadLock(Object caller,
long timeout)
Deprecated.
Acquires a read lock with a timeout period of
timeout milliseconds. |
boolean |
IdentityLock.acquireWriteLock(Object caller,
long timeout)
Deprecated.
Acquire a write lock with a timeout of
timeout milliseconds. |
boolean |
NodeLock.acquireWriteLock(Object caller,
long timeout)
Deprecated.
Acquires a write lock with a timeout of
timeout milliseconds. |
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.