Class ClusteredJobFailOverListener

  • All Implemented Interfaces:
    EventListener, org.jbpm.executor.AsynchronousJobListener, org.kie.api.cluster.ClusterListener

    public class ClusteredJobFailOverListener
    extends Object
    implements org.kie.api.cluster.ClusterListener, org.jbpm.executor.AsynchronousJobListener
    • Constructor Detail

      • ClusteredJobFailOverListener

        public ClusteredJobFailOverListener​(org.kie.api.cluster.ClusterAwareService clusterService,
                                            org.jbpm.executor.RequeueAware executorService)
    • Method Detail

      • nodeJoined

        public void nodeJoined​(org.kie.api.cluster.ClusterNode node)
        Specified by:
        nodeJoined in interface org.kie.api.cluster.ClusterListener
      • nodeLeft

        public void nodeLeft​(org.kie.api.cluster.ClusterNode node)
        Specified by:
        nodeLeft in interface org.kie.api.cluster.ClusterListener
      • afterJobScheduled

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

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

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

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

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

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