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–2022 The Apache Software Foundation. All rights reserved.