E
- public abstract class SimpleExecutionCallback<E> extends Object implements ExecutionCallback<E>
Constructor and Description |
---|
SimpleExecutionCallback() |
Modifier and Type | Method and Description |
---|---|
abstract void |
notify(Object response) |
void |
onFailure(Throwable t)
Called when an execution is completed with an error.
|
void |
onResponse(E response)
Called when an execution is completed successfully.
|
public abstract void notify(Object response)
public final void onResponse(E response)
ExecutionCallback
onResponse
in interface ExecutionCallback<E>
response
- the result of the successful executionpublic final void onFailure(Throwable t)
ExecutionCallback
onFailure
in interface ExecutionCallback<E>
t
- the exception that is thrownCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.