com.hazelcast.concurrent.atomicreference.operations
public abstract class AtomicReferenceBackupAwareOperation extends AtomicReferenceBaseOperation implements BackupAwareOperation
Modifier and Type | Field and Description |
---|---|
protected boolean |
shouldBackup |
name
CALL_ID_LOCAL_SKIPPED, 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.
|
afterRun, beforeRun, getFactoryId, getReferenceContainer, getResponse, getServiceName, readInternal, returnsResponse, writeInternal
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, run, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, 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 © 2015 Hazelcast, Inc.. All Rights Reserved.