public class AsyncOneResponse<T> extends java.lang.Object implements IAsyncCallback<T>
isAlive| Constructor and Description |
|---|
AsyncOneResponse() |
| Modifier and Type | Method and Description |
|---|---|
T |
get(long timeout,
java.util.concurrent.TimeUnit tu) |
boolean |
isLatencyForSnitch() |
void |
response(MessageIn<T> response) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsBackPressurepublic T get(long timeout, java.util.concurrent.TimeUnit tu) throws java.util.concurrent.TimeoutException
java.util.concurrent.TimeoutExceptionpublic void response(MessageIn<T> response)
response in interface IAsyncCallback<T>response - response received.public boolean isLatencyForSnitch()
isLatencyForSnitch in interface IAsyncCallback<T>Copyright © 2018 The Apache Software Foundation