Package org.camunda.bpm.engine.impl.util
Class CompositeCondition
- java.lang.Object
-
- org.camunda.bpm.engine.impl.util.CompositeCondition
-
public class CompositeCondition extends java.lang.Object
Composite Condition implementation which allows multiple consumers to subscribe to signals with their ownSingleConsumerCondition
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.concurrent.CopyOnWriteArrayList<SingleConsumerCondition>
conditions
-
Constructor Summary
Constructors Constructor Description CompositeCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConsumer(SingleConsumerCondition condition)
void
removeConsumer(SingleConsumerCondition condition)
void
signalAll()
-
-
-
Field Detail
-
conditions
protected java.util.concurrent.CopyOnWriteArrayList<SingleConsumerCondition> conditions
-
-
Method Detail
-
addConsumer
public void addConsumer(SingleConsumerCondition condition)
-
removeConsumer
public void removeConsumer(SingleConsumerCondition condition)
-
signalAll
public void signalAll()
-
-