Package co.paralleluniverse.strands
Interface Condition
-
- All Superinterfaces:
Synchronization
- All Known Implementing Classes:
ConditionSelector
,ConditionSynchronizer
,DoneSynchronizer
,OwnedSynchronizer
,SimpleConditionSynchronizer
public interface Condition extends Synchronization
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
await(int iter)
void
await(int iter, long timeout, java.util.concurrent.TimeUnit unit)
java.lang.Object
register()
void
signal()
void
signalAll()
void
unregister(java.lang.Object registrationToken)
-
-
-
Method Detail
-
register
java.lang.Object register()
- Specified by:
register
in interfaceSynchronization
-
unregister
void unregister(java.lang.Object registrationToken)
- Specified by:
unregister
in interfaceSynchronization
-
await
void await(int iter) throws java.lang.InterruptedException, SuspendExecution
- Throws:
java.lang.InterruptedException
SuspendExecution
-
await
void await(int iter, long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, SuspendExecution
- Throws:
java.lang.InterruptedException
SuspendExecution
-
signal
void signal()
-
signalAll
void signalAll()
-
-