Package org.camunda.bpm.engine.impl.util
Class SingleConsumerCondition
- java.lang.Object
-
- org.camunda.bpm.engine.impl.util.SingleConsumerCondition
-
public class SingleConsumerCondition extends Object
MPSC Condition implementation.Implementation Notes:
await(long)
may spuriously return before the deadline is reached.- if
signal()
is called before the consumer thread callsawait(long)
, the next call toawait(long)
returns immediately.
-
-
Constructor Summary
Constructors Constructor Description SingleConsumerCondition(Thread consumer)
-
-
-
Constructor Detail
-
SingleConsumerCondition
public SingleConsumerCondition(Thread consumer)
-
-