Class JobMonitoringListener

  • All Implemented Interfaces:
    java.util.EventListener, javax.management.NotificationListener

    public abstract class JobMonitoringListener
    extends java.lang.Object
    implements javax.management.NotificationListener
    Listener for job report updates sent via JMX by the job monitor.
    Author:
    Mahmoud Ben Hassine ([email protected])
    • Constructor Detail

      • JobMonitoringListener

        public JobMonitoringListener()
    • Method Detail

      • onJobReportUpdate

        public abstract void onJobReportUpdate​(JobReport jobReport)
        Method invoked when a new job report update is received.
        Parameters:
        jobReport - the new job report update
      • onConnectionOpened

        public abstract void onConnectionOpened()
        Method invoked when the JMX connection is opened.
      • onConnectionClosed

        public abstract void onConnectionClosed()
        Method invoked when the JMX connection is closed.
      • handleNotification

        public void handleNotification​(javax.management.Notification notification,
                                       java.lang.Object handback)
        Specified by:
        handleNotification in interface javax.management.NotificationListener