Package | Description |
---|---|
locklib |
In locklib, a locking target is represented by a
Target . |
Modifier and Type | Method and Description |
---|---|
Target<LockType> |
Target.parent()
Obtains the parent of this target.
|
Target<LockType> |
LockGrantFuture.target()
Obtains the target of the lock.
|
Target<LockType> |
LockGrant.target()
Obtains the locked target.
|
Modifier and Type | Method and Description |
---|---|
Set<Target<LockType>> |
Target.children()
Obtains the set of all children (non-recursive) of this target.
|
Modifier and Type | Method and Description |
---|---|
void |
Target.parent(Target<LockType> p)
Sets the parent target of this target.
|
void |
NullLockPreChecker.pre_check_wait(LockRequest<LockType> r,
Target<LockType> t) |
void |
LockPreChecker.pre_check_wait(LockRequest<LockType> r,
Target<LockType> t)
Checks if we can wait for a lock.
|
Constructor and Description |
---|
Target(Target<LockType> parent)
Creates a new target, child of an existing parent.
|
Copyright © 2015. All rights reserved.