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.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.setQuorumName(String quorumName)
Sets the quorum name for operations.
|
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 © 2018 Hazelcast, Inc.. All rights reserved.