public class ScheduledExecutorConfigReadOnly extends ScheduledExecutorConfig
| Constructor and Description |
|---|
ScheduledExecutorConfigReadOnly(ScheduledExecutorConfig config) |
| Modifier and Type | Method and Description |
|---|---|
ScheduledExecutorConfig |
setCapacity(int capacity)
Sets the capacity of the executor
The capacity represents the maximum number of tasks that a scheduler can have at any given point in time per partition.
|
ScheduledExecutorConfig |
setDurability(int durability)
Sets the durability of the executor
The durability represents the number of replicas that exist in a cluster for any given partition-owned task.
|
ScheduledExecutorConfig |
setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Sets the
MergePolicyConfig for the scheduler. |
ScheduledExecutorConfig |
setName(String name)
Sets the name of the executor task.
|
ScheduledExecutorConfig |
setPoolSize(int poolSize)
Sets the number of executor threads per member for the executor.
|
ScheduledExecutorConfig |
setSplitBrainProtectionName(String splitBrainProtectionName)
Sets the split brain protection name for operations.
|
equals, getCapacity, getClassId, getDurability, getFactoryId, getMergePolicyConfig, getName, getPoolSize, getProvidedMergeTypes, getSplitBrainProtectionName, hashCode, readData, toString, writeDatapublic ScheduledExecutorConfigReadOnly(ScheduledExecutorConfig config)
public ScheduledExecutorConfig setName(String name)
ScheduledExecutorConfigsetName in interface NamedConfigsetName in class ScheduledExecutorConfigname - the name of the executor taskpublic ScheduledExecutorConfig setDurability(int durability)
ScheduledExecutorConfigsetDurability in class ScheduledExecutorConfigdurability - the durability of the executorpublic ScheduledExecutorConfig setPoolSize(int poolSize)
ScheduledExecutorConfigsetPoolSize in class ScheduledExecutorConfigpoolSize - the number of executor threads per member for the executorpublic ScheduledExecutorConfig setCapacity(int capacity)
ScheduledExecutorConfigsetCapacity in class ScheduledExecutorConfigcapacity - the capacity of the executorpublic ScheduledExecutorConfig setSplitBrainProtectionName(String splitBrainProtectionName)
ScheduledExecutorConfigsetSplitBrainProtectionName in class ScheduledExecutorConfigsplitBrainProtectionName - the split brain protection namepublic ScheduledExecutorConfig setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
ScheduledExecutorConfigMergePolicyConfig for the scheduler.setMergePolicyConfig in class ScheduledExecutorConfigCopyright © 2019 Hazelcast, Inc.. All rights reserved.