Class CountDownAsyncJobListener

  • All Implemented Interfaces:
    EventListener, org.jbpm.executor.AsynchronousJobListener

    public class CountDownAsyncJobListener
    extends Object
    implements org.jbpm.executor.AsynchronousJobListener
    • Constructor Detail

      • CountDownAsyncJobListener

        public CountDownAsyncJobListener​(int threads)
    • 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 interface org.jbpm.executor.AsynchronousJobListener
      • afterJobScheduled

        public void afterJobScheduled​(org.jbpm.executor.AsynchronousJobEvent event)
        Specified by:
        afterJobScheduled in interface org.jbpm.executor.AsynchronousJobListener
      • beforeJobExecuted

        public void beforeJobExecuted​(org.jbpm.executor.AsynchronousJobEvent event)
        Specified by:
        beforeJobExecuted in interface org.jbpm.executor.AsynchronousJobListener
      • afterJobExecuted

        public void afterJobExecuted​(org.jbpm.executor.AsynchronousJobEvent event)
        Specified by:
        afterJobExecuted in interface org.jbpm.executor.AsynchronousJobListener
      • beforeJobCancelled

        public void beforeJobCancelled​(org.jbpm.executor.AsynchronousJobEvent event)
        Specified by:
        beforeJobCancelled in interface org.jbpm.executor.AsynchronousJobListener
      • afterJobCancelled

        public void afterJobCancelled​(org.jbpm.executor.AsynchronousJobEvent event)
        Specified by:
        afterJobCancelled in interface org.jbpm.executor.AsynchronousJobListener