public abstract class JMXNotificationProgressListener extends java.lang.Object implements ProgressListener, javax.management.NotificationListener
ProgressListeners.
This is to be implemented in client tools side.| Constructor and Description |
|---|
JMXNotificationProgressListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleConnectionClosed(long timestamp,
java.lang.String message)
Called when JMX connection is closed.
|
void |
handleConnectionFailed(long timestamp,
java.lang.String message)
Called when JMX connection is failed.
|
void |
handleNotification(javax.management.Notification notification,
java.lang.Object handback) |
void |
handleNotificationLost(long timestamp,
java.lang.String message)
Called when receiving
JMXConnectionNotification.NOTIFS_LOST message. |
abstract boolean |
isInterestedIn(java.lang.String tag) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprogresspublic abstract boolean isInterestedIn(java.lang.String tag)
tag - tag name to be checkedProgressListener.progress(java.lang.String, org.apache.cassandra.utils.progress.ProgressEvent) is not called for that event.public void handleNotificationLost(long timestamp,
java.lang.String message)
JMXConnectionNotification.NOTIFS_LOST message.public void handleConnectionClosed(long timestamp,
java.lang.String message)
JMXConnectionNotification.CLOSED message is received.public void handleConnectionFailed(long timestamp,
java.lang.String message)
JMXConnectionNotification.FAILED message is received.public void handleNotification(javax.management.Notification notification,
java.lang.Object handback)
handleNotification in interface javax.management.NotificationListenerCopyright © 2018 The Apache Software Foundation