public class RepairRunner extends JMXNotificationProgressListener
| Constructor and Description |
|---|
RepairRunner(java.io.PrintStream out,
StorageServiceMBean ssProxy,
java.lang.String keyspace,
java.util.Map<java.lang.String,java.lang.String> options) |
| 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 |
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.
|
void |
run() |
handleNotificationpublic RepairRunner(java.io.PrintStream out,
StorageServiceMBean ssProxy,
java.lang.String keyspace,
java.util.Map<java.lang.String,java.lang.String> options)
public void run()
throws java.lang.Exception
java.lang.Exceptionpublic 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 © 2016 The Apache Software Foundation