|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use NodeLock | |
---|---|
org.jboss.cache | |
org.jboss.cache.invocation | |
org.jboss.cache.lock | |
org.jboss.cache.transaction |
Uses of NodeLock in org.jboss.cache |
---|
Methods in org.jboss.cache that return NodeLock | |
---|---|
NodeLock |
NodeSPI.getLock()
Returns a lock for this node. |
Methods in org.jboss.cache that return types with arguments of type NodeLock | |
---|---|
List<NodeLock> |
InvocationContext.getInvocationLocksAcquired()
|
Methods in org.jboss.cache with parameters of type NodeLock | |
---|---|
void |
InvocationContext.addInvocationLockAcquired(NodeLock l)
|
Method parameters in org.jboss.cache with type arguments of type NodeLock | |
---|---|
void |
InvocationContext.addInvocationLocksAcquired(Collection<NodeLock> locks)
|
Uses of NodeLock in org.jboss.cache.invocation |
---|
Methods in org.jboss.cache.invocation that return NodeLock | |
---|---|
NodeLock |
NodeInvocationDelegate.getLock()
|
Uses of NodeLock in org.jboss.cache.lock |
---|
Classes in org.jboss.cache.lock that implement NodeLock | |
---|---|
class |
IdentityLock
Lock object which grants and releases locks, and associates locks with owners. |
Methods in org.jboss.cache.lock that return types with arguments of type NodeLock | |
---|---|
Set<NodeLock> |
IdentityLock.acquireAll(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,
boolean excludeInternalFqns)
|
Set<NodeLock> |
NodeLock.acquireAll(Object caller,
long timeout,
NodeLock.LockType lock_type,
boolean excludeInternalFqns)
Same as the overloaded 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. |
Methods in org.jboss.cache.lock with parameters of type NodeLock | |
---|---|
static boolean |
LockUtil.breakTransactionLock(NodeLock lock,
GlobalTransaction gtx,
boolean localTx,
TransactionTable tx_table,
TransactionManager tm)
|
Uses of NodeLock in org.jboss.cache.transaction |
---|
Methods in org.jboss.cache.transaction that return types with arguments of type NodeLock | |
---|---|
List<NodeLock> |
TransactionEntry.getLocks()
Returns the locks in use. |
Methods in org.jboss.cache.transaction with parameters of type NodeLock | |
---|---|
void |
TransactionTable.addLock(GlobalTransaction gtx,
NodeLock l)
Adds a lock to the global transaction. |
void |
TransactionEntry.addLock(NodeLock l)
Adds a lock to the end of the lock list, if it isn't already present. |
void |
TransactionTable.recordNodeLock(GlobalTransaction gtx,
NodeLock lock)
Add the lock to the list of locks maintained for this transaction (needed for release of locks on commit or rollback) |
Method parameters in org.jboss.cache.transaction with type arguments of type NodeLock | |
---|---|
void |
TransactionEntry.addLocks(Collection<NodeLock> newLocks)
Add multiple locks to the lock list. |
void |
TransactionTable.addLocks(GlobalTransaction gtx,
Collection<NodeLock> locks)
Adds a collection of locks to the global transaction. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |