public class IndexStoreConfig
extends java.lang.Object
IndexStore
instances.
For instance it maintains the node level rate limiter configuration: updates to the cluster that disable or enable
indices.store.throttle.type or indices.store.throttle.max_bytes_per_sec are reflected immediately
on all referencing IndexStore
instancesModifier and Type | Field and Description |
---|---|
static Setting<ByteSizeValue> |
INDICES_STORE_THROTTLE_MAX_BYTES_PER_SEC_SETTING
Configures the node / cluster level throttle intensity.
|
static Setting<StoreRateLimiting.Type> |
INDICES_STORE_THROTTLE_TYPE_SETTING
Configures the node / cluster level throttle type.
|
Constructor and Description |
---|
IndexStoreConfig(Settings settings) |
Modifier and Type | Method and Description |
---|---|
StoreRateLimiting |
getNodeRateLimiter()
Returns the node level rate limiter
|
void |
setRateLimitingThrottle(ByteSizeValue rateLimitingThrottle) |
void |
setRateLimitingType(StoreRateLimiting.Type rateLimitingType) |
public static final Setting<StoreRateLimiting.Type> INDICES_STORE_THROTTLE_TYPE_SETTING
StoreRateLimiting.Type
.public static final Setting<ByteSizeValue> INDICES_STORE_THROTTLE_MAX_BYTES_PER_SEC_SETTING
public IndexStoreConfig(Settings settings)
public StoreRateLimiting getNodeRateLimiter()
public void setRateLimitingType(StoreRateLimiting.Type rateLimitingType)
public void setRateLimitingThrottle(ByteSizeValue rateLimitingThrottle)