public abstract class AtomicReferenceBackupAwareOperation extends AbstractAtomicReferenceOperation implements BackupAwareOperation
Modifier and Type | Field and Description |
---|---|
protected boolean |
shouldBackup |
name
GENERIC_PARTITION_ID
Constructor and Description |
---|
AtomicReferenceBackupAwareOperation() |
AtomicReferenceBackupAwareOperation(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, getReferenceContainer, getServiceName, readInternal, toString, writeInternal
afterRun, beforeRun, 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 AtomicReferenceBackupAwareOperation()
public AtomicReferenceBackupAwareOperation(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 © 2016 Hazelcast, Inc.. All Rights Reserved.