Package | Description |
---|---|
org.jboss.cache.interceptors | |
org.jboss.cache.lock |
Modifier and Type | Method and Description |
---|---|
protected void |
LegacyCacheLoaderInterceptor.lock(Fqn fqn,
LockType lockType,
boolean recursive,
InvocationContext ctx)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static LockType |
LockType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockType[] |
LockType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 |
LockManager.isLocked(NodeSPI<?,?> n,
LockType lockType)
Returns true if the node is locked (either for reading or writing) by anyone, and false otherwise.
|
boolean |
NodeBasedLockManager.isLocked(NodeSPI n,
LockType type)
Deprecated.
|
boolean |
MVCCLockManager.isLocked(NodeSPI n,
LockType lockType) |
boolean |
LockManager.lock(Fqn fqn,
LockType lockType,
Object owner)
Acquires a lock of type lockType, for a given owner, on a specific Node in the cache, denoted by fqn.
|
boolean |
NodeBasedLockManager.lock(Fqn fqn,
LockType lockType,
Object owner)
Deprecated.
|
boolean |
MVCCLockManager.lock(Fqn fqn,
LockType lockType,
Object owner) |
boolean |
LockManager.lock(Fqn fqn,
LockType lockType,
Object owner,
long timeout)
Acquires a lock of type lockType, for a given owner, on a specific Node in the cache, denoted by fqn.
|
boolean |
NodeBasedLockManager.lock(Fqn fqn,
LockType lockType,
Object owner,
long timeout)
Deprecated.
|
boolean |
MVCCLockManager.lock(Fqn fqn,
LockType lockType,
Object owner,
long timeoutMillis) |
boolean |
LockManager.lock(NodeSPI<?,?> node,
LockType lockType,
Object owner)
As
LockManager.lock(org.jboss.cache.Fqn, LockType, Object) except that a NodeSPI is passed in instead of an Fqn. |
boolean |
LockManager.lock(NodeSPI<?,?> node,
LockType lockType,
Object owner,
long timeout)
As
LockManager.lock(org.jboss.cache.Fqn, LockType, Object, long) except that a NodeSPI is passed in instead of an Fqn. |
boolean |
NodeBasedLockManager.lock(NodeSPI node,
LockType lockType,
Object owner)
Deprecated.
|
boolean |
FqnLockManager.lock(NodeSPI node,
LockType lockType,
Object owner) |
boolean |
NodeBasedLockManager.lock(NodeSPI node,
LockType lockType,
Object owner,
long timeout)
Deprecated.
|
boolean |
FqnLockManager.lock(NodeSPI node,
LockType lockType,
Object owner,
long timeout) |
boolean |
LockManager.lockAll(NodeSPI<?,?> node,
LockType lockType,
Object owner)
Locks the node and all child nodes, acquiring lock of type specified for the owner specified.
|
boolean |
LockManager.lockAll(NodeSPI<?,?> node,
LockType lockType,
Object owner,
long timeout)
Locks the node and all child nodes, acquiring lock of type specified for the owner specified.
|
boolean |
LockManager.lockAll(NodeSPI<?,?> node,
LockType lockType,
Object owner,
long timeout,
boolean excludeInternalFqns)
Locks the node and all child nodes, acquiring lock of type specified for the owner specified.
|
boolean |
NodeBasedLockManager.lockAll(NodeSPI node,
LockType lockType,
Object owner)
Deprecated.
|
boolean |
MVCCLockManager.lockAll(NodeSPI node,
LockType lockType,
Object owner) |
boolean |
NodeBasedLockManager.lockAll(NodeSPI node,
LockType lockType,
Object owner,
long timeout)
Deprecated.
|
boolean |
MVCCLockManager.lockAll(NodeSPI node,
LockType lockType,
Object owner,
long timeout) |
boolean |
NodeBasedLockManager.lockAll(NodeSPI node,
LockType lockType,
Object owner,
long timeout,
boolean excludeInternalFqns)
Deprecated.
|
boolean |
MVCCLockManager.lockAll(NodeSPI node,
LockType lockType,
Object owner,
long timeout,
boolean excludeInternalFqns) |
boolean |
LockManager.lockAllAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
Locks the node and all child nodes, acquiring lock of type specified for the owner specified.
|
boolean |
NodeBasedLockManager.lockAllAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
Deprecated.
|
boolean |
MVCCLockManager.lockAllAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx) |
boolean |
LockManager.lockAllAndRecord(NodeSPI<?,?> node,
LockType lockType,
InvocationContext ctx)
Locks the node and all child nodes, acquiring lock of type specified for the owner specified.
|
boolean |
NodeBasedLockManager.lockAllAndRecord(NodeSPI node,
LockType lockType,
InvocationContext ctx)
Deprecated.
|
boolean |
MVCCLockManager.lockAllAndRecord(NodeSPI node,
LockType lockType,
InvocationContext ctx) |
boolean |
LockManager.lockAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
Acquires a lock of type lockType, on a specific Node in the cache, denoted by fqn.
|
boolean |
NodeBasedLockManager.lockAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx)
Deprecated.
|
boolean |
MVCCLockManager.lockAndRecord(Fqn fqn,
LockType lockType,
InvocationContext ctx) |
boolean |
LockManager.lockAndRecord(NodeSPI<?,?> node,
LockType lockType,
InvocationContext ctx)
Acquires a lock of type lockType, on a specific Node in the cache, denoted by fqn.
|
boolean |
NodeBasedLockManager.lockAndRecord(NodeSPI node,
LockType lockType,
InvocationContext ctx)
Deprecated.
|
boolean |
FqnLockManager.lockAndRecord(NodeSPI node,
LockType lockType,
InvocationContext ctx) |
boolean |
PessimisticNodeBasedLockManager.lockPessimistically(InvocationContext ctx,
Fqn fqn,
LockType lockType,
boolean createIfNotExists,
boolean zeroLockTimeout,
boolean acquireWriteLockOnParent,
boolean reverseRemoveCheck,
List<NodeSPI> createdNodes,
boolean skipNotification)
Deprecated.
A specific lock method for the PessimisticLockInterceptor.
|
boolean |
LockManager.ownsLock(Fqn fqn,
LockType lockType,
Object owner)
Tests whether a given owner owns a lock of lockType on a particular Fqn.
|
boolean |
NodeBasedLockManager.ownsLock(Fqn fqn,
LockType lockType,
Object owner)
Deprecated.
|
boolean |
MVCCLockManager.ownsLock(Fqn fqn,
LockType lockType,
Object owner) |
Constructor and Description |
---|
PessimisticNodeBasedLockManager.LockAcquirer(InvocationContext ctx,
LockType type,
long timeout,
Object owner) |
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.