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.
|
handleNotification
public void awaitCompletion() throws java.lang.InterruptedException
java.lang.InterruptedException
public boolean isInterestedIn(java.lang.String tag)
isInterestedIn
in class JMXNotificationProgressListener
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)
JMXNotificationProgressListener
JMXConnectionNotification.NOTIFS_LOST
message.handleNotificationLost
in class JMXNotificationProgressListener
public void handleConnectionClosed(long timestamp, java.lang.String message)
JMXNotificationProgressListener
JMXConnectionNotification.CLOSED
message is received.handleConnectionClosed
in class JMXNotificationProgressListener
public void handleConnectionFailed(long timestamp, java.lang.String message)
JMXNotificationProgressListener
JMXConnectionNotification.FAILED
message is received.handleConnectionFailed
in class JMXNotificationProgressListener
public void progress(java.lang.String tag, ProgressEvent event)
ProgressListener
tag
- String that identifies progress event.event
- Current progressCopyright © 2019 The Apache Software Foundation