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-2014 The Apache Software Foundation. All Rights Reserved.