|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use NodeLock.LockType | |
---|---|
org.jboss.cache.interceptors | |
org.jboss.cache.lock |
Uses of NodeLock.LockType in org.jboss.cache.interceptors |
---|
Methods in org.jboss.cache.interceptors with parameters of type NodeLock.LockType | |
---|---|
protected void |
CacheLoaderInterceptor.lock(Fqn fqn,
NodeLock.LockType lockType,
boolean recursive,
InvocationContext ctx)
|
Uses of NodeLock.LockType in org.jboss.cache.lock |
---|
Methods in org.jboss.cache.lock that return NodeLock.LockType | |
---|---|
static NodeLock.LockType |
NodeLock.LockType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NodeLock.LockType[] |
NodeLock.LockType.values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods in org.jboss.cache.lock with parameters of type NodeLock.LockType | |
---|---|
boolean |
NodeLock.acquire(Object caller,
long timeout,
NodeLock.LockType lock_type)
|
boolean |
IdentityLock.acquire(Object caller,
long timeout,
NodeLock.LockType lock_type)
|
Set<NodeLock> |
NodeLock.acquireAll(Object caller,
long timeout,
NodeLock.LockType lock_type)
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,
NodeLock.LockType lock_type)
|
Set<NodeLock> |
NodeLock.acquireAll(Object caller,
long timeout,
NodeLock.LockType lock_type,
boolean excludeInternalFqns)
Same as the overloaded NodeLock.acquire(Object, long, org.jboss.cache.lock.NodeLock.LockType) except that you can
optionally specify that internal Fqns - such as buddy backup subtrees - can be excluded when acquiring locks. |
Set<NodeLock> |
IdentityLock.acquireAll(Object caller,
long timeout,
NodeLock.LockType lock_type,
boolean excludeInternalFqns)
|
void |
LockManager.acquireLocksOnChildren(NodeSPI parentNode,
NodeLock.LockType lockType,
InvocationContext ctx)
|
void |
LockManager.acquireLocksOnChildren(NodeSPI parentNode,
NodeLock.LockType lockType,
InvocationContext ctx,
TransactionEntry entry,
boolean addChildrenToDeletedList)
Acquires nodes on the children of this node. |
boolean |
LockManager.acquireLocksWithTimeout(InvocationContext ctx,
Fqn fqn,
NodeLock.LockType lockType,
boolean createIfNotExists,
boolean zeroLockTimeout,
boolean acquireLockOnParent,
boolean reverseRemoveCheck,
List<NodeSPI> createdNodes,
boolean skipNotification)
|
boolean |
LockManager.lock(InvocationContext ctx,
Fqn fqn,
NodeLock.LockType lockType,
boolean createIfNotExists,
long timeout,
boolean acquireWriteLockOnParent,
boolean reverseRemoveCheck,
List<NodeSPI> createdNodes,
boolean skipNotification)
Acquires locks on the node and on its parrents. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |