public abstract class CardinalityEstimatorBackupAwareOperation extends AbstractCardinalityEstimatorOperation implements BackupAwareOperation
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
shouldBackup |
nameGENERIC_PARTITION_ID| Constructor and Description |
|---|
CardinalityEstimatorBackupAwareOperation() |
CardinalityEstimatorBackupAwareOperation(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.
|
getCardinalityEstimatorContainer, getFactoryId, getName, getServiceName, readInternal, toString, writeInternalafterRun, beforeRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getClientCallId, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, returnsResponse, run, sendResponse, setCallerUuid, setClientCallId, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBackupOperationgetPartitionIdgetClassIdreadData, writeDatapublic CardinalityEstimatorBackupAwareOperation()
public CardinalityEstimatorBackupAwareOperation(String name)
public boolean shouldBackup()
BackupAwareOperationIf a call has not made any change, e.g. an AtomicLong increment with 0, no backup needs to be made.
shouldBackup in interface BackupAwareOperationpublic int getSyncBackupCount()
BackupAwareOperationgetSyncBackupCount in interface BackupAwareOperationpublic int getAsyncBackupCount()
BackupAwareOperationgetAsyncBackupCount in interface BackupAwareOperationCopyright © 2019 Hazelcast, Inc.. All rights reserved.