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)
ExecutionCallbackonResponse in interface ExecutionCallback<E>response - the result of the successful executionpublic final void onFailure(Throwable t)
ExecutionCallbackonFailure in interface ExecutionCallback<E>t - the exception that is thrownCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.