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 void
afterJobCancelled(org.jbpm.executor.AsynchronousJobEvent event)
void
afterJobExecuted(org.jbpm.executor.AsynchronousJobEvent event)
void
afterJobScheduled(org.jbpm.executor.AsynchronousJobEvent event)
void
beforeJobCancelled(org.jbpm.executor.AsynchronousJobEvent event)
void
beforeJobExecuted(org.jbpm.executor.AsynchronousJobEvent event)
void
beforeJobScheduled(org.jbpm.executor.AsynchronousJobEvent event)
void
reset(int threads)
void
waitTillCompleted()
void
waitTillCompleted(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:
beforeJobScheduled
in interfaceorg.jbpm.executor.AsynchronousJobListener
-
afterJobScheduled
public void afterJobScheduled(org.jbpm.executor.AsynchronousJobEvent event)
- Specified by:
afterJobScheduled
in interfaceorg.jbpm.executor.AsynchronousJobListener
-
beforeJobExecuted
public void beforeJobExecuted(org.jbpm.executor.AsynchronousJobEvent event)
- Specified by:
beforeJobExecuted
in interfaceorg.jbpm.executor.AsynchronousJobListener
-
afterJobExecuted
public void afterJobExecuted(org.jbpm.executor.AsynchronousJobEvent event)
- Specified by:
afterJobExecuted
in interfaceorg.jbpm.executor.AsynchronousJobListener
-
beforeJobCancelled
public void beforeJobCancelled(org.jbpm.executor.AsynchronousJobEvent event)
- Specified by:
beforeJobCancelled
in interfaceorg.jbpm.executor.AsynchronousJobListener
-
afterJobCancelled
public void afterJobCancelled(org.jbpm.executor.AsynchronousJobEvent event)
- Specified by:
afterJobCancelled
in interfaceorg.jbpm.executor.AsynchronousJobListener
-
-