|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.spi.Operation
com.hazelcast.spi.AbstractOperation
com.hazelcast.spi.impl.AbstractNamedOperation
com.hazelcast.cache.impl.operation.CacheLoadAllOperation
public class CacheLoadAllOperation
Loads all entries of the keys to partition record store ICacheRecordStore
.
CacheLoadAllOperationFactory
creates this operation.
Functionality: Filters out the partition keys and calls
ICacheRecordStore.loadAll(java.util.Set keys, boolean replaceExistingValues)
.
Field Summary |
---|
Fields inherited from class com.hazelcast.spi.impl.AbstractNamedOperation |
---|
name |
Fields inherited from class com.hazelcast.spi.Operation |
---|
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID |
Constructor Summary | |
---|---|
CacheLoadAllOperation()
|
|
CacheLoadAllOperation(String name,
Set<Data> keys,
boolean replaceExistingValues)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class com.hazelcast.spi.impl.AbstractNamedOperation |
---|
getName |
Methods inherited from class com.hazelcast.spi.AbstractOperation |
---|
afterRun, beforeRun, returnsResponse |
Methods inherited from class com.hazelcast.spi.Operation |
---|
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.hazelcast.nio.serialization.DataSerializable |
---|
readData, writeData |
Methods inherited from interface com.hazelcast.spi.PartitionAwareOperation |
---|
getPartitionId |
Constructor Detail |
---|
public CacheLoadAllOperation(String name, Set<Data> keys, boolean replaceExistingValues)
public CacheLoadAllOperation()
Method Detail |
---|
public void run() throws Exception
run
in class Operation
Exception
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
BackupOperation
responsible for making the backup.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
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AbstractNamedOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AbstractNamedOperation
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |