com.hazelcast.map.impl.operation
public class PutAllOperation extends AbstractMapOperation implements PartitionAwareOperation, BackupAwareOperation, MutatingOperation
mapContainer, mapService
name
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
Constructor and Description |
---|
PutAllOperation() |
PutAllOperation(String name,
MapEntrySet entrySet) |
PutAllOperation(String name,
MapEntrySet entrySet,
boolean initialLoad) |
Modifier and Type | Method and Description |
---|---|
protected void |
evict(boolean backup) |
int |
getAsyncBackupCount()
The asynchronous backup count.
|
Operation |
getBackupOperation()
Creates the
BackupOperation responsible for making the backup. |
Object |
getResponse() |
int |
getSyncBackupCount()
The synchronous backup count.
|
protected void |
invalidateNearCaches(Set<Data> keys) |
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
String |
toString() |
protected void |
writeInternal(ObjectDataOutput out) |
afterRun, beforeRun, getServiceName, innerBeforeRun
getName
returnsResponse
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
public PutAllOperation()
public PutAllOperation(String name, MapEntrySet entrySet)
public PutAllOperation(String name, MapEntrySet entrySet, boolean initialLoad)
protected void evict(boolean backup)
public Object getResponse()
getResponse
in class AbstractOperation
public boolean shouldBackup()
BackupAwareOperation
shouldBackup
in interface BackupAwareOperation
public final int getAsyncBackupCount()
BackupAwareOperation
getAsyncBackupCount
in interface BackupAwareOperation
public final int getSyncBackupCount()
BackupAwareOperation
getSyncBackupCount
in interface BackupAwareOperation
public Operation getBackupOperation()
BackupAwareOperation
BackupOperation
responsible for making the backup.getBackupOperation
in interface BackupAwareOperation
BackupOperation
responsible for making the backup.protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AbstractNamedOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AbstractNamedOperation
IOException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.