public abstract class AbstractBackupAwareSchedulerOperation extends AbstractSchedulerOperation implements BackupAwareOperation
schedulerName
GENERIC_PARTITION_ID
Modifier and Type | Method and Description |
---|---|
int |
getAsyncBackupCount()
The asynchronous backup count.
|
int |
getSyncBackupCount()
The synchronous backup count.
|
boolean |
shouldBackup()
Checks if a backup needs to be made.
|
getContainer, getFactoryId, getName, getSchedulerName, getServiceName, readInternal, toString, writeInternal
afterRun, beforeRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, returnsResponse, run, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBackupOperation
getPartitionId
getId
readData, writeData
public boolean shouldBackup()
BackupAwareOperation
shouldBackup
in interface BackupAwareOperation
public int getSyncBackupCount()
BackupAwareOperation
getSyncBackupCount
in interface BackupAwareOperation
public int getAsyncBackupCount()
BackupAwareOperation
getAsyncBackupCount
in interface BackupAwareOperation
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.