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 String
static Setting<ByteSizeValue>
static Setting<RelativeByteSizeValue>
static Setting<org.elasticsearch.core.TimeValue>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the raw (uninterpreted) high watermark value as found in the settings.Gets the raw (uninterpreted) low watermark value as found in the settings.org.elasticsearch.core.TimeValue
boolean
boolean
boolean
-
Field Details
-
CLUSTER_ROUTING_ALLOCATION_DISK_THRESHOLD_ENABLED_SETTING
-
CLUSTER_ROUTING_ALLOCATION_LOW_DISK_WATERMARK_SETTING
-
CLUSTER_ROUTING_ALLOCATION_HIGH_DISK_WATERMARK_SETTING
-
CLUSTER_ROUTING_ALLOCATION_DISK_FLOOD_STAGE_WATERMARK_SETTING
-
CLUSTER_ROUTING_ALLOCATION_DISK_FLOOD_STAGE_FROZEN_SETTING
public static final Setting<RelativeByteSizeValue> CLUSTER_ROUTING_ALLOCATION_DISK_FLOOD_STAGE_FROZEN_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_INCLUDE_RELOCATIONS_SETTING
-
CLUSTER_ROUTING_ALLOCATION_REROUTE_INTERVAL_SETTING
public static final Setting<org.elasticsearch.core.TimeValue> CLUSTER_ROUTING_ALLOCATION_REROUTE_INTERVAL_SETTING -
AUTO_RELEASE_INDEX_ENABLED_KEY
- See Also:
- Constant Field Values
-
-
Constructor Details
-
DiskThresholdSettings
-
-
Method Details
-
getLowWatermarkRaw
Gets the raw (uninterpreted) low watermark value as found in the settings. -
getHighWatermarkRaw
Gets the raw (uninterpreted) high watermark value as found in the settings. -
getFreeDiskThresholdLow
-
getFreeDiskThresholdHigh
-
getFreeBytesThresholdLow
-
getFreeBytesThresholdHigh
-
getFreeDiskThresholdFloodStage
-
getFreeBytesThresholdFloodStage
-
getFreeBytesThresholdFrozenFloodStage
-
isAutoReleaseIndexEnabled
public boolean isAutoReleaseIndexEnabled() -
includeRelocations
public boolean includeRelocations() -
isEnabled
public boolean isEnabled() -
getRerouteInterval
public org.elasticsearch.core.TimeValue getRerouteInterval()
-