public class AnticompactionTask.AnticompactionCallback extends java.lang.Object implements IAsyncCallbackWithFailure
isAlive| Constructor and Description |
|---|
AnticompactionCallback(AnticompactionTask task) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLatencyForSnitch() |
void |
onFailure(java.net.InetAddress from,
RequestFailureReason failureReason)
Called when there is an exception on the remote node or timeout happens
|
void |
response(MessageIn msg) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsBackPressurepublic AnticompactionCallback(AnticompactionTask task)
public void response(MessageIn msg)
response in interface IAsyncCallbackmsg - response received.public boolean isLatencyForSnitch()
isLatencyForSnitch in interface IAsyncCallbackpublic void onFailure(java.net.InetAddress from,
RequestFailureReason failureReason)
IAsyncCallbackWithFailureonFailure in interface IAsyncCallbackWithFailureCopyright © 2018 The Apache Software Foundation