public class CollectionAddAllOperation extends CollectionBackupAwareOperation
| Modifier and Type | Field and Description |
|---|---|
protected List<Data> |
valueList |
protected Map<Long,Data> |
valueMap |
name, response| Constructor and Description |
|---|
CollectionAddAllOperation() |
CollectionAddAllOperation(String name,
List<Data> valueList) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
void |
beforeRun() |
Operation |
getBackupOperation()
Creates the
BackupOperation responsible for making the backup. |
int |
getId() |
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
protected void |
writeInternal(ObjectDataOutput out) |
getAsyncBackupCount, getSyncBackupCountgetFactoryId, getOrCreateContainer, getOrCreateListContainer, getResponse, hasEnoughCapacity, publishEvent, returnsResponsegetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getStartTime, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPartitionIdreadData, writeDatapublic boolean shouldBackup()
BackupAwareOperationpublic Operation getBackupOperation()
BackupAwareOperationBackupOperation responsible for making the backup.public int getId()
public void beforeRun()
throws Exception
public void afterRun()
throws Exception
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class CollectionOperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class CollectionOperationIOExceptionCopyright © 2021 Hazelcast, Inc.. All rights reserved.