|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LockManager | |
|---|---|
| com.sun.sgs.impl.util.lock | Provides utility classes for managing locks. |
| Uses of LockManager in com.sun.sgs.impl.util.lock |
|---|
| Subclasses of LockManager in com.sun.sgs.impl.util.lock | |
|---|---|
class |
MultiLockManager<K>
A class for managing lock conflicts where locks are not held by transactions and the locker can make simultaneous requests from multiple threads. |
class |
TxnLockManager<K>
A class for managing lock conflicts of a transaction. |
| Fields in com.sun.sgs.impl.util.lock declared as LockManager | |
|---|---|
(package private) LockManager<K> |
Locker.lockManager
The lock manager for this locker. |
| Methods in com.sun.sgs.impl.util.lock that return LockManager | |
|---|---|
LockManager<K> |
Locker.getLockManager()
Returns the lock manager for this locker. |
| Methods in com.sun.sgs.impl.util.lock with parameters of type LockManager | ||
|---|---|---|
(package private) static
|
Lock.checkNoSync(LockManager<K> lockManager)
Checks that the current thread is not synchronized on the map associated with a key, throwing AssertionError if it is, and
otherwise returning true. |
|
(package private) boolean |
Lock.checkSync(LockManager<K> lockManager)
Checks that the current thread is synchronized on the map associated with this lock, throwing AssertionError if it is not, and
otherwise returning true. |
|
(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. |
|
(package private) boolean |
Lock.inUse(LockManager<K> lockManager)
Returns whether this lock is currently in use, or whether it is not in use and can be removed from the lock table. |
|
(package private) static
|
Lock.noteSync(LockManager<K> lockManager,
K key)
Notes the start of synchronization on the map associated with key. |
|
(package private) static
|
Lock.noteUnsync(LockManager<K> lockManager,
K key)
Notes the end of synchronization on the map associated with key. |
|
| Constructors in com.sun.sgs.impl.util.lock with parameters of type LockManager | |
|---|---|
BasicLocker(LockManager<K> lockManager)
Creates an instance of this class. |
|
Locker(LockManager<K> lockManager)
Creates an instance of this class. |
|
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||