Package org.jbpm.test.listener.process
Class DefaultCountDownProcessEventListener
- java.lang.Object
-
- org.kie.api.event.process.DefaultProcessEventListener
-
- org.jbpm.test.listener.process.DefaultCountDownProcessEventListener
-
- All Implemented Interfaces:
EventListener,org.kie.api.event.process.ProcessEventListener
- Direct Known Subclasses:
NodeCountDownProcessEventListener,SLAViolationCountDownProcessEventListener
public class DefaultCountDownProcessEventListener extends org.kie.api.event.process.DefaultProcessEventListener
-
-
Field Summary
Fields Modifier and Type Field Description protected CountDownLatchlatchprotected intthreads
-
Constructor Summary
Constructors Constructor Description DefaultCountDownProcessEventListener()DefaultCountDownProcessEventListener(int threads)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcount()protected voidcountDown()voidreset()voidreset(int threads)voidwaitTillCompleted()voidwaitTillCompleted(long timeOut)-
Methods inherited from class org.kie.api.event.process.DefaultProcessEventListener
afterNodeLeft, afterNodeTriggered, afterProcessCompleted, afterProcessStarted, afterVariableChanged, beforeNodeLeft, beforeNodeTriggered, beforeProcessCompleted, beforeProcessStarted, beforeVariableChanged, onProcessDataChangedEvent
-
-
-
-
Field Detail
-
latch
protected CountDownLatch latch
-
threads
protected int threads
-
-