- unlock
Releases the lock.
- lock
Acquires the lock for the specified lease time. After lease time, lock will be
released..
If the l
- isLocked
Returns whether this lock is locked or not.
- tryLock
Tries to acquire the lock for the specified lease time. After lease time, the
lock will be released.
- forceUnlock
Releases the lock regardless of the lock owner. It always successfully unlocks,
never blocks, and re
- getRemainingLeaseTime
Returns remaining lease time in milliseconds. If the lock is not locked then -1
will be returned.
- isLockedByCurrentThread
Returns whether this lock is locked by current thread or not.
- destroy
- getLockCount
Returns re-entrant lock hold count, regardless of lock ownership.
- getName
- newCondition
Returns a new ICondition instance that is bound to this ILock instance with
given name. Before waiti