public class CardinalityEstimatorConfigReadOnly extends CardinalityEstimatorConfig
DEFAULT_ASYNC_BACKUP_COUNT, DEFAULT_MERGE_POLICY_CONFIG, DEFAULT_SYNC_BACKUP_COUNT| Constructor and Description |
|---|
CardinalityEstimatorConfigReadOnly(CardinalityEstimatorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
CardinalityEstimatorConfig |
setAsyncBackupCount(int asyncBackupCount)
Sets the number of synchronous backups.
|
CardinalityEstimatorConfig |
setBackupCount(int backupCount)
Sets the number of synchronous backups.
|
CardinalityEstimatorConfig |
setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Sets the
MergePolicyConfig for the scheduler. |
CardinalityEstimatorConfig |
setName(String name)
Sets the name of the cardinality estimator.
|
CardinalityEstimatorConfig |
setSplitBrainProtectionName(String splitBrainProtectionName)
Sets the split brain protection name for operations.
|
equals, getAsyncBackupCount, getBackupCount, getClassId, getFactoryId, getMergePolicyConfig, getName, getSplitBrainProtectionName, getTotalBackupCount, hashCode, readData, toString, validate, writeDatapublic CardinalityEstimatorConfigReadOnly(CardinalityEstimatorConfig config)
public CardinalityEstimatorConfig setName(String name)
CardinalityEstimatorConfigsetName in interface NamedConfigsetName in class CardinalityEstimatorConfigname - the name of the estimatorpublic CardinalityEstimatorConfig setBackupCount(int backupCount)
CardinalityEstimatorConfigsetBackupCount in class CardinalityEstimatorConfigbackupCount - the number of synchronous backups to setCardinalityEstimatorConfig.setAsyncBackupCount(int),
CardinalityEstimatorConfig.getBackupCount()public CardinalityEstimatorConfig setAsyncBackupCount(int asyncBackupCount)
CardinalityEstimatorConfigsetAsyncBackupCount in class CardinalityEstimatorConfigasyncBackupCount - the number of synchronous backups to setCardinalityEstimatorConfig.setAsyncBackupCount(int),
CardinalityEstimatorConfig.getBackupCount()public CardinalityEstimatorConfig setSplitBrainProtectionName(String splitBrainProtectionName)
CardinalityEstimatorConfigsetSplitBrainProtectionName in class CardinalityEstimatorConfigsplitBrainProtectionName - the split brain protection namepublic CardinalityEstimatorConfig setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
CardinalityEstimatorConfigMergePolicyConfig for the scheduler.setMergePolicyConfig in class CardinalityEstimatorConfigCopyright © 2019 Hazelcast, Inc.. All rights reserved.