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() |
protected MapOperationProvider |
getMapOperationProvider(String mapName) |
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, encodeResponse, getDistributedObjectName, getDistributedObjectType, getMemberBuildInfo, getMethodName, getParameters, getPartitionId, getService, getServiceName, handleProcessingFailure, isAdvancedNetworkEnabled, requiresAuthentication, run, sendClientMessage, sendClientMessage, sendClientMessage, sendResponse
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequiredPermission
protected AbstractMultiPartitionMessageTask(ClientMessage clientMessage, Node node, Connection connection)
protected void processMessage()
processMessage
in class AbstractMessageTask<P>
protected final MapOperationProvider getMapOperationProvider(String mapName)
public abstract Collection<Integer> getPartitions()
protected abstract OperationFactory createOperationFactory()
public final void onFailure(Throwable throwable)
ExecutionCallback
onFailure
in interface ExecutionCallback<Map<Integer,Object>>
throwable
- the exception that is thrownpublic final void onResponse(Map<Integer,Object> map)
ExecutionCallback
onResponse
in interface ExecutionCallback<Map<Integer,Object>>
map
- the result of the successful executionCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.