Class JobMonitorProxy

  • All Implemented Interfaces:
    java.lang.Runnable

    public class JobMonitorProxy
    extends java.lang.Object
    implements java.lang.Runnable
    Proxy that subscribes to notifications sent by a running job monitor. Notifications are broadcast to listeners registered using addMonitoringListener(JobMonitoringListener)
    Author:
    Mahmoud Ben Hassine ([email protected])
    • Constructor Detail

      • JobMonitorProxy

        public JobMonitorProxy​(java.lang.String host,
                               int port,
                               java.lang.String jobName)
        Create a new JobMonitorProxy.
        Parameters:
        host - on which the job is running
        port - on which JMX notification are sent
        jobName - the job name
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable