Class JMXNotificationProgressListener

  • All Implemented Interfaces:
    java.util.EventListener, javax.management.NotificationListener, ProgressListener
    Direct Known Subclasses:
    BootstrapMonitor, RepairRunner

    public abstract class JMXNotificationProgressListener
    extends java.lang.Object
    implements ProgressListener, javax.management.NotificationListener
    JMXNotificationProgressListener uses JMX Notification API to convert JMX Notification message to progress event and notifies its ProgressListeners. This is to be implemented in client tools side.
    • Constructor Detail

      • JMXNotificationProgressListener

        public JMXNotificationProgressListener()
    • Method Detail

      • handleNotificationLost

        public void handleNotificationLost​(long timestamp,
                                           java.lang.String message)
        Called when receiving JMXConnectionNotification.NOTIFS_LOST message.
      • handleConnectionClosed

        public void handleConnectionClosed​(long timestamp,
                                           java.lang.String message)
        Called when JMX connection is closed. Specifically when JMXConnectionNotification.CLOSED message is received.
      • handleConnectionFailed

        public void handleConnectionFailed​(long timestamp,
                                           java.lang.String message)
        Called when JMX connection is failed. Specifically when JMXConnectionNotification.FAILED message is received.
      • handleNotification

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