public abstract class AtomicLongBackupAwareOperation extends AbstractAtomicLongOperation implements BackupAwareOperation
Modifier and Type | Field and Description |
---|---|
protected boolean |
shouldBackup |
name
GENERIC_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, getServiceName, readInternal, toString, writeInternal
afterRun, beforeRun, 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 AtomicLongBackupAwareOperation()
public AtomicLongBackupAwareOperation(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
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.