The Lock type exposes the following members.
Fields
Name | Description | |
---|---|---|
![]() | failureReason | If a lock obtain called, this failureReason may be set
with the "root cause" Exception as to why the lock was
not obtained.
|
![]() ![]() | LOCK_OBTAIN_WAIT_FOREVER | Pass this value to {@link #Obtain(long)} to try
forever to obtain the lock.
|
![]() ![]() | LOCK_POLL_INTERVAL | How long {@link #Obtain(long)} waits, in milliseconds,
in between attempts to acquire the lock.
|