Package co.paralleluniverse.strands
Class ConditionSelector
- java.lang.Object
-
- co.paralleluniverse.strands.ConditionSynchronizer
-
- co.paralleluniverse.strands.ConditionSelector
-
- All Implemented Interfaces:
Condition
,Synchronization
public class ConditionSelector extends ConditionSynchronizer implements Condition
-
-
Field Summary
-
Fields inherited from class co.paralleluniverse.strands.ConditionSynchronizer
RECORDER
-
-
Constructor Summary
Constructors Constructor Description ConditionSelector(java.lang.Object owner, Condition... conds)
ConditionSelector(java.lang.Object owner, java.util.Collection<Condition> conditions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
register()
void
signal()
void
signalAll()
void
unregister(java.lang.Object registrationToken)
-
Methods inherited from class co.paralleluniverse.strands.ConditionSynchronizer
await, await, awaitNanos
-
-
-
-
Method Detail
-
register
public java.lang.Object register()
- Specified by:
register
in interfaceCondition
- Specified by:
register
in interfaceSynchronization
-
unregister
public void unregister(java.lang.Object registrationToken)
- Specified by:
unregister
in interfaceCondition
- Specified by:
unregister
in interfaceSynchronization
-
-