boolean |
ReadWriteLockSync.isHeldByCurrentThread(LockType type) |
Returns true is this is lock is held at given level by the current thread.
|
boolean |
Sync.isHeldByCurrentThread(LockType type) |
Returns true is this is lock is held at given level by the current thread.
|
void |
ReadWriteLockSync.lock(LockType type) |
Acquire lock of LockType.READ or WRITE
|
void |
Sync.lock(LockType type) |
Acquire lock of LockType.READ or WRITE
|
boolean |
ReadWriteLockSync.tryLock(LockType type,
long msec) |
Tries to acquire a LockType.READ or WRITE for a certain period
|
boolean |
Sync.tryLock(LockType type,
long msec) |
Tries to acquire a LockType.READ or WRITE for a certain period
|
void |
ReadWriteLockSync.unlock(LockType type) |
Releases the lock held by the current Thread.
|
void |
Sync.unlock(LockType type) |
Releases the lock held by the current Thread.
|