public class CacheLoadAllOperation extends AbstractNamedOperation implements PartitionAwareOperation, IdentifiedDataSerializable, BackupAwareOperation, MutatingOperation
ICacheRecordStore.
CacheLoadAllOperationFactory creates this operation.
Functionality: Filters out the partition keys and calls
ICacheRecordStore.loadAll(java.util.Set keys, boolean replaceExistingValues).
nameCALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID| Constructor and Description |
|---|
CacheLoadAllOperation() |
CacheLoadAllOperation(String name,
Set<Data> keys,
boolean replaceExistingValues) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAsyncBackupCount()
The asynchronous backup count.
|
Operation |
getBackupOperation()
Creates the
BackupOperation responsible for making the backup. |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
Object |
getResponse() |
int |
getSyncBackupCount()
The synchronous backup count.
|
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
protected void |
writeInternal(ObjectDataOutput out) |
getName, toStringafterRun, beforeRun, returnsResponsegetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, onExecutionFailure, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadData, writeDatagetPartitionIdpublic CacheLoadAllOperation(String name, Set<Data> keys, boolean replaceExistingValues)
public CacheLoadAllOperation()
public Object getResponse()
getResponse in class AbstractOperationpublic boolean shouldBackup()
BackupAwareOperationshouldBackup in interface BackupAwareOperationpublic Operation getBackupOperation()
BackupAwareOperationBackupOperation responsible for making the backup.getBackupOperation in interface BackupAwareOperationBackupOperation responsible for making the backup.public int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablepublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic final int getSyncBackupCount()
BackupAwareOperationgetSyncBackupCount in interface BackupAwareOperationpublic final int getAsyncBackupCount()
BackupAwareOperationgetAsyncBackupCount in interface BackupAwareOperationprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class AbstractNamedOperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class AbstractNamedOperationIOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.