public abstract class AbstractMultiPartitionMessageTask<P> extends AbstractMessageTask<P> implements ExecutionCallback<Map<Integer,Object>>
clientEngine, clientMessage, connection, endpoint, logger, nodeEngine, parameters, serializationService| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractMultiPartitionMessageTask(ClientMessage clientMessage,
                                 Node node,
                                 Connection connection)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract OperationFactory | 
createOperationFactory()  | 
abstract Collection<Integer> | 
getPartitions()  | 
void | 
onFailure(Throwable throwable)
Called when an execution is completed with an error. 
 | 
void | 
onResponse(Map<Integer,Object> map)
Called when an execution is completed successfully. 
 | 
protected void | 
processMessage()  | 
protected abstract Object | 
reduce(Map<Integer,Object> map)  | 
decodeClientMessage, doRun, encodeResponse, getDistributedObjectName, getDistributedObjectType, getMemberBuildInfo, getMethodName, getParameters, getPartitionId, getService, getServiceName, handleProcessingFailure, run, sendClientMessage, sendClientMessage, sendClientMessage, sendResponseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredPermissionprotected AbstractMultiPartitionMessageTask(ClientMessage clientMessage, Node node, Connection connection)
protected void processMessage()
processMessage in class AbstractMessageTask<P>public abstract Collection<Integer> getPartitions()
protected abstract OperationFactory createOperationFactory()
public final void onFailure(Throwable throwable)
ExecutionCallbackonFailure in interface ExecutionCallback<Map<Integer,Object>>throwable - the exception that is thrownpublic final void onResponse(Map<Integer,Object> map)
ExecutionCallbackonResponse in interface ExecutionCallback<Map<Integer,Object>>map - the result of the successful executionCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.