|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LockRequest | |
|---|---|
| com.sun.sgs.impl.kernel | Provides an implementation of the RedDwarf Server kernel. |
| com.sun.sgs.impl.util.lock | Provides utility classes for managing locks. |
| Uses of LockRequest in com.sun.sgs.impl.kernel |
|---|
| Methods in com.sun.sgs.impl.kernel that return LockRequest | |
|---|---|
protected LockRequest<com.sun.sgs.impl.kernel.LockingAccessCoordinator.Key> |
LockingAccessCoordinator.LockerImpl.newLockRequest(com.sun.sgs.impl.kernel.LockingAccessCoordinator.Key key,
boolean forWrite,
boolean upgrade)
Creates a new lock request. |
| Uses of LockRequest in com.sun.sgs.impl.util.lock |
|---|
| Fields in com.sun.sgs.impl.util.lock declared as LockRequest | |
|---|---|
(package private) LockRequest<K> |
LockAttemptResult.request
The lock request. |
| Methods in com.sun.sgs.impl.util.lock that return LockRequest | |
|---|---|
protected LockRequest<K> |
Locker.newLockRequest(K key,
boolean forWrite,
boolean upgrade)
Creates a new lock request. |
| Methods in com.sun.sgs.impl.util.lock that return types with arguments of type LockRequest | |
|---|---|
(package private) List<LockRequest<K>> |
Lock.copyOwners(LockManager<K> lockManager)
Returns a possibly read-only copy of the lock requests for the owners. |
(package private) List<LockRequest<K>> |
Lock.copyWaiters(LockManager<K> lockManager)
Returns a possibly read-only copy of the lock requests for the waiters. |
List<LockRequest<K>> |
LockManager.getOwners(K key)
Returns a possibly read-only list that contains a snapshot of the current owners of a lock, as identified by lock requests. |
List<LockRequest<K>> |
LockManager.getWaiters(K key)
Returns a possibly read-only list that contains a snapshot of the current waiters for a lock, as identified by lock requests. |
| Methods in com.sun.sgs.impl.util.lock with parameters of type LockRequest | |
|---|---|
(package private) boolean |
Lock.isOwner(LockRequest<K> request)
Checks if the lock is already owned in a way the satisfies the specified request. |
| Constructors in com.sun.sgs.impl.util.lock with parameters of type LockRequest | |
|---|---|
LockAttemptResult(LockRequest<K> request,
Locker<K> conflict)
Creates an instance of this class. |
|
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||