Package org.jbpm.test.listener
Class CountDownAsyncJobListener
- java.lang.Object
-
- org.jbpm.test.listener.CountDownAsyncJobListener
-
- All Implemented Interfaces:
EventListener,org.jbpm.executor.AsynchronousJobListener
public class CountDownAsyncJobListener extends Object implements org.jbpm.executor.AsynchronousJobListener
-
-
Constructor Summary
Constructors Constructor Description CountDownAsyncJobListener(int threads)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterJobCancelled(org.jbpm.executor.AsynchronousJobEvent event)voidafterJobExecuted(org.jbpm.executor.AsynchronousJobEvent event)voidafterJobScheduled(org.jbpm.executor.AsynchronousJobEvent event)voidbeforeJobCancelled(org.jbpm.executor.AsynchronousJobEvent event)voidbeforeJobExecuted(org.jbpm.executor.AsynchronousJobEvent event)voidbeforeJobScheduled(org.jbpm.executor.AsynchronousJobEvent event)voidreset(int threads)voidwaitTillCompleted()voidwaitTillCompleted(long timeOut)
-
-
-
Method Detail
-
waitTillCompleted
public void waitTillCompleted()
-
waitTillCompleted
public void waitTillCompleted(long timeOut)
-
reset
public void reset(int threads)
-
beforeJobScheduled
public void beforeJobScheduled(org.jbpm.executor.AsynchronousJobEvent event)
- Specified by:
beforeJobScheduledin interfaceorg.jbpm.executor.AsynchronousJobListener
-
afterJobScheduled
public void afterJobScheduled(org.jbpm.executor.AsynchronousJobEvent event)
- Specified by:
afterJobScheduledin interfaceorg.jbpm.executor.AsynchronousJobListener
-
beforeJobExecuted
public void beforeJobExecuted(org.jbpm.executor.AsynchronousJobEvent event)
- Specified by:
beforeJobExecutedin interfaceorg.jbpm.executor.AsynchronousJobListener
-
afterJobExecuted
public void afterJobExecuted(org.jbpm.executor.AsynchronousJobEvent event)
- Specified by:
afterJobExecutedin interfaceorg.jbpm.executor.AsynchronousJobListener
-
beforeJobCancelled
public void beforeJobCancelled(org.jbpm.executor.AsynchronousJobEvent event)
- Specified by:
beforeJobCancelledin interfaceorg.jbpm.executor.AsynchronousJobListener
-
afterJobCancelled
public void afterJobCancelled(org.jbpm.executor.AsynchronousJobEvent event)
- Specified by:
afterJobCancelledin interfaceorg.jbpm.executor.AsynchronousJobListener
-
-