public interface FailureCallback
| Modifier and Type | Method and Description |
|---|---|
default void |
dispatch(Throwable error)
Stop the request timer, start the response timer, and then invoke the failure callback code.
|
void |
invoke(Throwable error)
Invoke the failure callback code.
|
void invoke(Throwable error)
error - The error that caused the failuredefault void dispatch(Throwable error)
error - The error that caused the failureCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.