public class RepairRunnable extends java.lang.Object implements java.lang.Runnable, ProgressEventNotifier
Constructor and Description |
---|
RepairRunnable(StorageService storageService,
int cmd,
RepairOption options,
java.lang.String keyspace) |
Modifier and Type | Method and Description |
---|---|
void |
addProgressListener(ProgressListener listener)
Register progress listener to this publisher.
|
protected void |
fireProgressEvent(ProgressEvent event) |
void |
notification(java.lang.String msg) |
void |
notifyError(java.lang.Throwable error) |
void |
removeProgressListener(ProgressListener listener)
Remove progress listener from this publisher.
|
void |
run() |
public RepairRunnable(StorageService storageService, int cmd, RepairOption options, java.lang.String keyspace)
public void addProgressListener(ProgressListener listener)
ProgressEventNotifier
addProgressListener
in interface ProgressEventNotifier
listener
- listener to register.public void removeProgressListener(ProgressListener listener)
ProgressEventNotifier
removeProgressListener
in interface ProgressEventNotifier
listener
- listener to removeprotected void fireProgressEvent(ProgressEvent event)
public void notification(java.lang.String msg)
public void notifyError(java.lang.Throwable error)
public void run()
run
in interface java.lang.Runnable
Copyright © 2009- The Apache Software Foundation