Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
ScheduledExecutorConfig |
Config.findScheduledExecutorConfig(String name) |
ScheduledExecutorConfig |
Config.getScheduledExecutorConfig(String name)
Returns the ScheduledExecutorConfig for the given name
|
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.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.
|
Modifier and Type | Method and Description |
---|---|
Map<String,ScheduledExecutorConfig> |
Config.getScheduledExecutorConfigs() |
Modifier and Type | Method and Description |
---|---|
Config |
Config.addScheduledExecutorConfig(ScheduledExecutorConfig scheduledExecutorConfig)
Adds a new ScheduledExecutorConfig by name
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setScheduledExecutorConfigs(Map<String,ScheduledExecutorConfig> scheduledExecutorConfigs) |
Constructor and Description |
---|
ScheduledExecutorConfig(ScheduledExecutorConfig config) |
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.