private static class OperationHelper.AsyncCallableWithConnectionCallback extends java.lang.Object implements SingleResultCallback<AsyncConnectionSource>
Modifier and Type | Field and Description |
---|---|
private OperationHelper.AsyncCallableWithConnection |
callable |
Constructor and Description |
---|
AsyncCallableWithConnectionCallback(OperationHelper.AsyncCallableWithConnection callable) |
Modifier and Type | Method and Description |
---|---|
void |
onResult(AsyncConnectionSource source,
java.lang.Throwable t)
Called when the operation completes.
|
private final OperationHelper.AsyncCallableWithConnection callable
AsyncCallableWithConnectionCallback(OperationHelper.AsyncCallableWithConnection callable)
public void onResult(AsyncConnectionSource source, java.lang.Throwable t)
SingleResultCallback
onResult
in interface SingleResultCallback<AsyncConnectionSource>
source
- the result, which may be null. Always null if e is not null.t
- the throwable, or null if the operation completed normally