public class ClearOperation extends AbstractMapOperation implements BackupAwareOperation, PartitionAwareOperation
mapContainer, mapServicename| Constructor and Description |
|---|
ClearOperation() |
ClearOperation(String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAsyncBackupCount()
The asynchronous backup count.
|
Operation |
getBackupOperation()
Creates the
BackupOperation responsible for making the backup. |
Object |
getResponse() |
int |
getSyncBackupCount()
The synchronous backup count.
|
boolean |
returnsResponse() |
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
String |
toString() |
afterRun, beforeRun, innerBeforeRungetName, readInternal, writeInternalgetCallerAddress, 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, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdpublic ClearOperation()
public ClearOperation(String name)
public boolean shouldBackup()
BackupAwareOperationshouldBackup in interface BackupAwareOperationpublic int getSyncBackupCount()
BackupAwareOperationgetSyncBackupCount in interface BackupAwareOperationpublic int getAsyncBackupCount()
BackupAwareOperationgetAsyncBackupCount in interface BackupAwareOperationpublic boolean returnsResponse()
returnsResponse in interface RemotePropagatable<Operation>returnsResponse in class AbstractMapOperationpublic Object getResponse()
getResponse in class AbstractOperationpublic Operation getBackupOperation()
BackupAwareOperationBackupOperation responsible for making the backup.getBackupOperation in interface BackupAwareOperationCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.