Java.Util.Concurrent.Locks.ILock: Method Members

The methods of Java.Util.Concurrent.Locks.ILock are listed below. For a list of all members, see the ILock Members list.

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.