org.terracotta.locking
Class TerracottaCondition
java.lang.Object
org.terracotta.locking.TerracottaCondition
- All Implemented Interfaces:
- Serializable, Condition
public class TerracottaCondition
- extends Object
- implements Condition, Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
await
public void await()
throws InterruptedException
- Specified by:
await in interface Condition
- Throws:
InterruptedException
awaitUninterruptibly
public void awaitUninterruptibly()
- Specified by:
awaitUninterruptibly in interface Condition
awaitNanos
public long awaitNanos(long nanosTimeout)
throws InterruptedException
- Specified by:
awaitNanos in interface Condition
- Throws:
InterruptedException
await
public boolean await(long time,
TimeUnit unit)
throws InterruptedException
- Specified by:
await in interface Condition
- Throws:
InterruptedException
awaitUntil
public boolean awaitUntil(Date deadline)
throws InterruptedException
- Specified by:
awaitUntil in interface Condition
- Throws:
InterruptedException
signal
public void signal()
- Specified by:
signal in interface Condition
signalAll
public void signalAll()
- Specified by:
signalAll in interface Condition
getWaitQueueLength
public int getWaitQueueLength(Lock lock)
getWaitingThreads
public Collection getWaitingThreads(Lock lock)
Copyright © 2015 Terracotta, Inc.. All Rights Reserved.