protected class AmqpConsumer.ScheduledStopRequest extends Object implements AsyncResult
| Constructor and Description |
|---|
AmqpConsumer.ScheduledStopRequest(ScheduledFuture<?> completionTask,
AsyncResult origRequest) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isComplete()
Returns true if the AsyncResult has completed.
|
void |
onFailure(Throwable t)
If the operation fails this method is invoked with the Exception
that caused the failure.
|
void |
onSuccess()
If the operation succeeds the resulting value produced is set to null and
the waiting parties are signaled.
|
public AmqpConsumer.ScheduledStopRequest(ScheduledFuture<?> completionTask, AsyncResult origRequest)
public void onFailure(Throwable t)
AsyncResultonFailure in interface AsyncResultt - The error that resulted in this asynchronous operation failing.public void onSuccess()
AsyncResultonSuccess in interface AsyncResultpublic boolean isComplete()
AsyncResultisComplete in interface AsyncResultCopyright © 2013–2016 The Apache Software Foundation. All rights reserved.