Java.Util.Concurrent.Locks.ILock Members

The members of Java.Util.Concurrent.Locks.ILock are listed below.

Public Methods

Lock()
Acquires the lock.
LockInterruptibly()
Acquires the lock unless the current thread is Java.Lang.Thread.Interrupt.
NewCondition() : ICondition
Returns a new Java.Util.Concurrent.Locks.ICondition instance that is bound to this Lock instance.
TryLock() : bool
Acquires the lock only if it is free at the time of invocation.
TryLock(long, Java.Util.Concurrent.TimeUnit) : bool
Acquires the lock if it is free within the given waiting time and the current thread has not been Java.Lang.Thread.Interrupt.
Unlock()
Releases the lock.