public class ClearOperation extends AbstractMapOperation implements BackupAwareOperation, PartitionAwareOperation
mapContainer, mapService
name
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, innerBeforeRun
getName, readInternal, writeInternal
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, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
public ClearOperation()
public ClearOperation(String name)
public boolean shouldBackup()
BackupAwareOperation
shouldBackup
in interface BackupAwareOperation
public int getSyncBackupCount()
BackupAwareOperation
getSyncBackupCount
in interface BackupAwareOperation
public int getAsyncBackupCount()
BackupAwareOperation
getAsyncBackupCount
in interface BackupAwareOperation
public boolean returnsResponse()
returnsResponse
in interface RemotePropagatable<Operation>
returnsResponse
in class AbstractMapOperation
public Object getResponse()
getResponse
in class AbstractOperation
public Operation getBackupOperation()
BackupAwareOperation
BackupOperation
responsible for making the backup.getBackupOperation
in interface BackupAwareOperation
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.