public class PutAllOperation extends AbstractMapOperation implements PartitionAwareOperation, BackupAwareOperation
mapContainer, mapService
name
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, innerBeforeRun, returnsResponse
getName
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
public PutAllOperation(String name, MapEntrySet entrySet)
public PutAllOperation(String name, MapEntrySet entrySet, boolean initialLoad)
public PutAllOperation()
protected void evict(boolean backup)
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 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
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.