Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
ScheduledExecutorConfig |
Config.findScheduledExecutorConfig(String name)
Returns a read-only scheduled executor configuration for the given name.
|
ScheduledExecutorConfig |
Config.getScheduledExecutorConfig(String name)
Returns the ScheduledExecutorConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
ScheduledExecutorConfig |
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 |
ScheduledExecutorConfig.setCapacityPolicy(ScheduledExecutorConfig.CapacityPolicy capacityPolicy)
Set the capacity policy for the configured capacity value
To prevent any undesirable data-loss, capacity is ignored during partition migrations,
the count is updated accordingly, however the rejection is not enforced.
|
ScheduledExecutorConfig |
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 |
ScheduledExecutorConfig.setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Sets the
MergePolicyConfig for the scheduler. |
ScheduledExecutorConfig |
ScheduledExecutorConfig.setName(String name)
Sets the name of the executor task.
|
ScheduledExecutorConfig |
ScheduledExecutorConfig.setPoolSize(int poolSize)
Sets the number of executor threads per member for the executor.
|
ScheduledExecutorConfig |
ScheduledExecutorConfig.setSplitBrainProtectionName(String splitBrainProtectionName)
Sets the split brain protection name for operations.
|
ScheduledExecutorConfig |
ScheduledExecutorConfig.setStatisticsEnabled(boolean statisticsEnabled)
Enables or disables statistics gathering on the executor task.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ScheduledExecutorConfig> |
Config.getScheduledExecutorConfigs()
Returns the map of scheduled executor configurations, mapped by config
name.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.addScheduledExecutorConfig(ScheduledExecutorConfig scheduledExecutorConfig)
Adds the scheduled executor configuration.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setScheduledExecutorConfigs(Map<String,ScheduledExecutorConfig> scheduledExecutorConfigs)
Sets the map of scheduled executor configurations, mapped by config name.
|
Constructor and Description |
---|
ScheduledExecutorConfig(ScheduledExecutorConfig config) |
Copyright © 2020 Hazelcast, Inc.. All rights reserved.