public class BootstrapMonitor extends JMXNotificationProgressListener
| Constructor and Description |
|---|
BootstrapMonitor(java.io.PrintStream out) |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitCompletion() |
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 |
handleNotificationLost(long timestamp,
java.lang.String message)
Called when receiving
JMXConnectionNotification.NOTIFS_LOST message. |
boolean |
isInterestedIn(java.lang.String tag) |
void |
progress(java.lang.String tag,
ProgressEvent event)
Called when some progress is made by progress publisher.
|
handleNotificationpublic void awaitCompletion()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic boolean isInterestedIn(java.lang.String tag)
isInterestedIn in class JMXNotificationProgressListenertag - 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)
JMXNotificationProgressListenerJMXConnectionNotification.NOTIFS_LOST message.handleNotificationLost in class JMXNotificationProgressListenerpublic void handleConnectionClosed(long timestamp,
java.lang.String message)
JMXNotificationProgressListenerJMXConnectionNotification.CLOSED message is received.handleConnectionClosed in class JMXNotificationProgressListenerpublic void handleConnectionFailed(long timestamp,
java.lang.String message)
JMXNotificationProgressListenerJMXConnectionNotification.FAILED message is received.handleConnectionFailed in class JMXNotificationProgressListenerpublic void progress(java.lang.String tag,
ProgressEvent event)
ProgressListenertag - String that identifies progress event.event - Current progressCopyright © 2018 The Apache Software Foundation