Module org.elasticsearch.server
Class DiskThresholdSettings
java.lang.Object
org.elasticsearch.cluster.routing.allocation.DiskThresholdSettings
A container to keep settings for disk thresholds up to date with cluster setting changes.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Setting<ByteSizeValue>
static final Setting<RelativeByteSizeValue>
static final Setting<RelativeByteSizeValue>
static final Setting<RelativeByteSizeValue>
static final Setting<RelativeByteSizeValue>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondescribeFloodStageThreshold
(ByteSizeValue total, boolean includeSettingKey) describeFrozenFloodStageThreshold
(ByteSizeValue total, boolean includeSettingKey) describeHighThreshold
(ByteSizeValue total, boolean includeSettingKey) describeLowThreshold
(ByteSizeValue total, boolean includeSettingKey) boolean
-
Field Details
-
CLUSTER_ROUTING_ALLOCATION_DISK_THRESHOLD_ENABLED_SETTING
-
CLUSTER_ROUTING_ALLOCATION_LOW_DISK_WATERMARK_SETTING
public static final Setting<RelativeByteSizeValue> CLUSTER_ROUTING_ALLOCATION_LOW_DISK_WATERMARK_SETTING -
CLUSTER_ROUTING_ALLOCATION_HIGH_DISK_WATERMARK_SETTING
public static final Setting<RelativeByteSizeValue> CLUSTER_ROUTING_ALLOCATION_HIGH_DISK_WATERMARK_SETTING -
CLUSTER_ROUTING_ALLOCATION_DISK_FLOOD_STAGE_WATERMARK_SETTING
public static final Setting<RelativeByteSizeValue> CLUSTER_ROUTING_ALLOCATION_DISK_FLOOD_STAGE_WATERMARK_SETTING -
CLUSTER_ROUTING_ALLOCATION_DISK_FLOOD_STAGE_FROZEN_WATERMARK_SETTING
public static final Setting<RelativeByteSizeValue> CLUSTER_ROUTING_ALLOCATION_DISK_FLOOD_STAGE_FROZEN_WATERMARK_SETTING -
CLUSTER_ROUTING_ALLOCATION_DISK_FLOOD_STAGE_FROZEN_MAX_HEADROOM_SETTING
public static final Setting<ByteSizeValue> CLUSTER_ROUTING_ALLOCATION_DISK_FLOOD_STAGE_FROZEN_MAX_HEADROOM_SETTING -
CLUSTER_ROUTING_ALLOCATION_REROUTE_INTERVAL_SETTING
-
-
Constructor Details
-
DiskThresholdSettings
-
-
Method Details
-
getFreeBytesThresholdLowStage
-
getFreeBytesThresholdHighStage
-
getFreeBytesThresholdFloodStage
-
getFreeBytesThresholdFrozenFloodStage
-
getMinimumTotalSizeForBelowLowWatermark
-
isEnabled
public boolean isEnabled() -
getRerouteInterval
-
describeLowThreshold
-
describeHighThreshold
-
describeFloodStageThreshold
-
describeFrozenFloodStageThreshold
-