|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface mirroring the java.util.concurrent.locks.Condition, but allowing for RemoteExceptions representing network communication errors.
| Method Summary | |
boolean |
await(long time,
TimeUnit unit)
Causes the current thread to wait until it is signalled or interrupted, or the specified waiting time elapses. |
void |
awaitUninterruptibly()
Causes the current thread to wait until it is signalled or interrupted. |
boolean |
awaitUntil(java.util.Date deadline)
Causes the current thread to wait until it is signalled or interrupted, or the specified deadline elapses. |
void |
signal()
Wakes up one waiting thread. |
void |
signalAll()
Wakes up all waiting threads. |
| Method Detail |
public void awaitUninterruptibly()
throws java.rmi.RemoteException
interrupted.
java.lang.InterruptedException - if the current thread is interrupted (and
interruption of thread suspension is supported).
java.rmi.RemoteException - if a communication error occursCondition.awaitUninterruptibly()
public boolean await(long time,
TimeUnit unit)
throws java.lang.InterruptedException,
java.rmi.RemoteException
java.lang.InterruptedException - if the current thread is interrupted (and
interruption of thread suspension is supported).
java.rmi.RemoteException - if a communication error occursCondition.awaitUninterruptibly()
public boolean awaitUntil(java.util.Date deadline)
throws java.lang.InterruptedException,
java.rmi.RemoteException
java.lang.InterruptedException - if the current thread is interrupted (and
interruption of thread suspension is supported).
java.rmi.RemoteException - if a communication error occursCondition.awaitUntil(java.util.Date)
public void signal()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a communication error occursCondition.signal()
public void signalAll()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a communication error occursCondition.signalAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||