Modifier and Type | Method and Description |
---|---|
L |
getLabel() |
int |
getQueueLength()
Returns an estimate of the number of threads waiting to
acquire this lock.
|
boolean |
isReadLocked()
Queries if one or more write lock is held by any thread.
|
boolean |
isWriteLocked()
Queries if the write lock is held by any thread.
|
void |
lock(long timeout,
boolean readOnly) |
void |
unlock(boolean readOnly) |
public void lock(long timeout, boolean readOnly) throws LockException, LockInterruptedException
public void unlock(boolean readOnly)
public int getQueueLength()
public boolean isWriteLocked()
public boolean isReadLocked()
Copyright © 2015 Lucee