- lock(LockRequest<LockType>) - Method in class locklib.Target
-
Requests an asynchronous lock of this target.
- LockCancelledException - Exception in locklib
-
Exception thrown when a lock is cancelled by another thread and the current
thread was waiting for the lock.
- LockCancelledException(String) - Constructor for exception locklib.LockCancelledException
-
Creates a new exception.
- locked(LockGrant<LockType>) - Method in interface locklib.LockManagerListener
-
A lock has been granted.
- locked(LockGrant<LockType>) - Method in class locklib.NullLockPreChecker
-
- LockGrant<LockType> - Class in locklib
-
A lock grant represents the successful acquisition of a lock.
- LockGrantFuture<LockType> - Class in locklib
-
Future representing a request for a lock grant.
- locklib - package locklib
-
In
locklib, a locking target is represented by a
Target
.
- locklib.mutex - package locklib.mutex
-
The mutex
package implements the mutex locking
concepts in locklib.
- locklib.sx - package locklib.sx
-
The sx
package provides support for SX locks.
- LockManager<LockType> - Class in locklib
-
The lock manager holds information about all locks currently held and all
locks currently being waited for.
- LockManager(LockPolicy<LockType>, LockPreChecker<LockType>, WaitQueueFactory<LockType>) - Constructor for class locklib.LockManager
-
Creates a new lock manager.
- LockManagerListener<LockType> - Interface in locklib
-
Interface implemented by objects that are informed of changes in the locks
currently held.
- LockPolicy<LockType> - Interface in locklib
-
A lock policy defines how a locking mechanism works.
- LockPreChecker<LockType> - Interface in locklib
-
A lock pre-checker is informed of all locks currently held and decides
whether a lock (which cannot be obtained right now) can be queued for
later acquisition.
- LockRequest<LockType> - Class in locklib
-
Request for a lock.
- LockRequest(LockType, Object) - Constructor for class locklib.LockRequest
-
Creates a new lock request.