public class DrainOperation extends SemaphoreBackupAwareOperation
permitCount, responsenameGENERIC_PARTITION_ID| Constructor and Description | 
|---|
| DrainOperation() | 
| DrainOperation(String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| Operation | getBackupOperation()Creates the  BackupOperationresponsible for making the backup. | 
| int | getId()Returns type identifier for this class. | 
| void | run() | 
| boolean | shouldBackup()Checks if a backup needs to be made. | 
getAsyncBackupCount, getSyncBackupCountgetFactoryId, getResponse, getSemaphoreContainer, getServiceName, readInternal, writeInternalgetName, toStringafterRun, beforeRun, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, returnsResponse, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdreadData, writeDatapublic DrainOperation()
public DrainOperation(String name)
public boolean shouldBackup()
BackupAwareOperationpublic Operation getBackupOperation()
BackupAwareOperationBackupOperation responsible for making the backup.BackupOperation responsible for making the backup.public int getId()
IdentifiedDataSerializableCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.