public interface Callback<T>
handleResult(Object)
or handleError(Throwable)
will be invoked.Modifier and Type | Method and Description |
---|---|
void |
handleError(Throwable error)
Receives an error.
|
void |
handleResult(T result)
Receives a callback result.
|
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.