Class ForwardingCondition
- java.lang.Object
-
- com.google.common.util.concurrent.ForwardingCondition
-
- All Implemented Interfaces:
java.util.concurrent.locks.Condition
- Direct Known Subclasses:
Striped.WeakSafeCondition
abstract class ForwardingCondition extends java.lang.Object implements java.util.concurrent.locks.Condition
Forwarding wrapper around aCondition
.
-
-
Constructor Summary
Constructors Constructor Description ForwardingCondition()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
await()
boolean
await(long time, java.util.concurrent.TimeUnit unit)
long
awaitNanos(long nanosTimeout)
void
awaitUninterruptibly()
boolean
awaitUntil(java.util.Date deadline)
(package private) abstract java.util.concurrent.locks.Condition
delegate()
void
signal()
void
signalAll()
-
-
-
Method Detail
-
delegate
abstract java.util.concurrent.locks.Condition delegate()
-
await
public void await() throws java.lang.InterruptedException
- Specified by:
await
in interfacejava.util.concurrent.locks.Condition
- Throws:
java.lang.InterruptedException
-
await
public boolean await(long time, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
- Specified by:
await
in interfacejava.util.concurrent.locks.Condition
- Throws:
java.lang.InterruptedException
-
awaitUninterruptibly
public void awaitUninterruptibly()
- Specified by:
awaitUninterruptibly
in interfacejava.util.concurrent.locks.Condition
-
awaitNanos
public long awaitNanos(long nanosTimeout) throws java.lang.InterruptedException
- Specified by:
awaitNanos
in interfacejava.util.concurrent.locks.Condition
- Throws:
java.lang.InterruptedException
-
awaitUntil
public boolean awaitUntil(java.util.Date deadline) throws java.lang.InterruptedException
- Specified by:
awaitUntil
in interfacejava.util.concurrent.locks.Condition
- Throws:
java.lang.InterruptedException
-
signal
public void signal()
- Specified by:
signal
in interfacejava.util.concurrent.locks.Condition
-
signalAll
public void signalAll()
- Specified by:
signalAll
in interfacejava.util.concurrent.locks.Condition
-
-