public class CacheLoadAllOperation extends AbstractNamedOperation implements PartitionAwareOperation, IdentifiedDataSerializable, BackupAwareOperation
ICacheRecordStore
.
CacheLoadAllOperationFactory
creates this operation.
Functionality: Filters out the partition keys and calls
ICacheRecordStore.loadAll(java.util.Set keys, boolean replaceExistingValues)
.
name
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.
|
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
getName, readInternal, writeInternal
afterRun, beforeRun, returnsResponse
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, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readData, writeData
getPartitionId
public CacheLoadAllOperation(String name, Set<Data> keys, boolean replaceExistingValues)
public CacheLoadAllOperation()
public Object getResponse()
getResponse
in class AbstractOperation
public boolean shouldBackup()
BackupAwareOperation
shouldBackup
in interface BackupAwareOperation
public Operation getBackupOperation()
BackupAwareOperation
BackupOperation
responsible for making the backup.getBackupOperation
in interface BackupAwareOperation
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public final int getSyncBackupCount()
BackupAwareOperation
getSyncBackupCount
in interface BackupAwareOperation
public final int getAsyncBackupCount()
BackupAwareOperation
getAsyncBackupCount
in interface BackupAwareOperation
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.