|
||||||||||
| 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 |
| 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. |
void |
run()
|
boolean |
shouldBackup()
Checks if a backup needs to be made. |
| Methods inherited from class com.hazelcast.spi.impl.AbstractNamedOperation |
|---|
getName, readInternal, writeInternal |
| Methods inherited from class com.hazelcast.spi.AbstractOperation |
|---|
afterRun, beforeRun, returnsResponse |
| Methods inherited from class com.hazelcast.spi.Operation |
|---|
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 |
| 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 OperationExceptionpublic Object getResponse()
getResponse in class AbstractOperationpublic boolean shouldBackup()
BackupAwareOperation
shouldBackup in interface BackupAwareOperationpublic Operation getBackupOperation()
BackupAwareOperationBackupOperation responsible for making the backup.
getBackupOperation in interface BackupAwareOperationpublic int getId()
IdentifiedDataSerializable
getId in interface IdentifiedDataSerializablepublic int getFactoryId()
IdentifiedDataSerializable
getFactoryId in interface IdentifiedDataSerializablepublic final int getSyncBackupCount()
BackupAwareOperation
getSyncBackupCount in interface BackupAwareOperationpublic final int getAsyncBackupCount()
BackupAwareOperation
getAsyncBackupCount in interface BackupAwareOperation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||