| Package | Description |
|---|---|
| locklib |
In locklib, a locking target is represented by a
Target. |
| Modifier and Type | Method and Description |
|---|---|
LockGrant<LockType> |
LockGrantFuture.get() |
LockGrant<LockType> |
LockGrantFuture.get(long timeout,
TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
void |
NullLockPreChecker.locked(LockGrant<LockType> g) |
void |
LockManagerListener.locked(LockGrant<LockType> g)
A lock has been granted.
|
void |
Target.unlock(LockGrant<LockType> g)
Unlocks a target, which must have been previously locked.
|
void |
NullLockPreChecker.unlocked(LockGrant<LockType> g) |
void |
LockManagerListener.unlocked(LockGrant<LockType> g)
A lock has been released.
|
Copyright © 2015. All rights reserved.