public class PutAllPerMemberOperation extends MapOperation implements IdentifiedDataSerializable
MapEntries
for all partitions of a member via locally invoked PutAllOperation
.
Used to reduce the number of remote invocations of an IMap.putAll(Map)
call.createRecordStoreOnDemand, mapContainer, mapEventPublisher, mapService, mapServiceContext, recordStore
name
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
Constructor and Description |
---|
PutAllPerMemberOperation() |
PutAllPerMemberOperation(String name,
int[] partitions,
MapEntries[] mapEntries) |
Modifier and Type | Method and Description |
---|---|
void |
afterRun() |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
Object |
getResponse() |
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
beforeRun, clearNearCache, evict, getServiceName, getThreadId, innerBeforeRun, invalidateNearCache, invalidateNearCache, isPostProcessing, setMapContainer, setMapService, setThreadId
getName, toString
returnsResponse
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, logError, onException, onExecutionFailure, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readData, writeData
public PutAllPerMemberOperation()
public PutAllPerMemberOperation(String name, int[] partitions, MapEntries[] mapEntries)
public void afterRun() throws Exception
afterRun
in class MapOperation
Exception
public Object getResponse()
getResponse
in class AbstractOperation
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AbstractNamedOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AbstractNamedOperation
IOException
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.