public class ClearOperation extends MultiMapOperation implements BackupAwareOperation, PartitionAwareOperation
name, response| Constructor and Description |
|---|
ClearOperation() |
ClearOperation(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
void |
beforeRun() |
Operation |
getBackupOperation()
Creates the
BackupOperation responsible for making the backup. |
int |
getId() |
void |
run() |
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
getAsyncBackupCount, getFactoryId, getOrCreateContainer, getResponse, getServiceName, getSyncBackupCount, hasListener, isBinary, publishEvent, readInternal, returnsResponse, toData, toObject, writeInternalgetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getStartTime, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncBackupCount, getSyncBackupCountgetPartitionIdreadData, writeDatapublic ClearOperation()
public ClearOperation(String name)
public void beforeRun()
throws Exception
beforeRun in class MultiMapOperationExceptionpublic void afterRun()
throws Exception
afterRun in class MultiMapOperationExceptionpublic boolean shouldBackup()
BackupAwareOperationshouldBackup in interface BackupAwareOperationpublic Operation getBackupOperation()
BackupAwareOperationBackupOperation responsible for making the backup.getBackupOperation in interface BackupAwareOperationpublic int getId()
getId in interface IdentifiedDataSerializableCopyright © 2021 Hazelcast, Inc.. All rights reserved.