Package | Description |
---|---|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
Modifier and Type | Method and Description |
---|---|
static ScheduledExecutorConfig.CapacityPolicy |
ScheduledExecutorConfig.CapacityPolicy.getById(byte id) |
ScheduledExecutorConfig.CapacityPolicy |
ScheduledExecutorConfig.getCapacityPolicy() |
static ScheduledExecutorConfig.CapacityPolicy |
ScheduledExecutorConfig.CapacityPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScheduledExecutorConfig.CapacityPolicy[] |
ScheduledExecutorConfig.CapacityPolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
ScheduledExecutorConfig(String name,
int durability,
int capacity,
int poolSize,
String splitBrainProtectionName,
MergePolicyConfig mergePolicyConfig,
ScheduledExecutorConfig.CapacityPolicy capacityPolicy,
boolean statisticsEnabled) |
Copyright © 2023 Hazelcast, Inc.. All rights reserved.