public abstract class AtomicLongBackupAwareOperation extends AbstractAtomicLongOperation implements BackupAwareOperation
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
shouldBackup |
nameGENERIC_PARTITION_ID| Constructor and Description |
|---|
AtomicLongBackupAwareOperation() |
AtomicLongBackupAwareOperation(String name) |
| 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.
|
getFactoryId, getLongContainer, getName, getServiceName, readInternal, toString, writeInternalafterRun, beforeRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, returnsResponse, run, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBackupOperationgetPartitionIdgetIdreadData, writeDatapublic AtomicLongBackupAwareOperation()
public AtomicLongBackupAwareOperation(String name)
public boolean shouldBackup()
BackupAwareOperationshouldBackup in interface BackupAwareOperationpublic int getSyncBackupCount()
BackupAwareOperationgetSyncBackupCount in interface BackupAwareOperationpublic int getAsyncBackupCount()
BackupAwareOperationgetAsyncBackupCount in interface BackupAwareOperationCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.