Class DiskThresholdSettings

java.lang.Object
org.elasticsearch.cluster.routing.allocation.DiskThresholdSettings

public class DiskThresholdSettings extends Object
A container to keep settings for disk thresholds up to date with cluster setting changes.
  • Field Details

    • CLUSTER_ROUTING_ALLOCATION_DISK_THRESHOLD_ENABLED_SETTING

      public static final Setting<Boolean> 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_LOW_DISK_MAX_HEADROOM_SETTING

      public static final Setting<ByteSizeValue> CLUSTER_ROUTING_ALLOCATION_LOW_DISK_MAX_HEADROOM_SETTING
    • CLUSTER_ROUTING_ALLOCATION_HIGH_DISK_WATERMARK_SETTING

      public static final Setting<RelativeByteSizeValue> CLUSTER_ROUTING_ALLOCATION_HIGH_DISK_WATERMARK_SETTING
    • CLUSTER_ROUTING_ALLOCATION_HIGH_DISK_MAX_HEADROOM_SETTING

      public static final Setting<ByteSizeValue> CLUSTER_ROUTING_ALLOCATION_HIGH_DISK_MAX_HEADROOM_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_MAX_HEADROOM_SETTING

      public static final Setting<ByteSizeValue> CLUSTER_ROUTING_ALLOCATION_DISK_FLOOD_STAGE_MAX_HEADROOM_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

      public static final Setting<TimeValue> CLUSTER_ROUTING_ALLOCATION_REROUTE_INTERVAL_SETTING
  • Constructor Details

  • Method Details

    • getFreeBytesThresholdLowStage

      public ByteSizeValue getFreeBytesThresholdLowStage(ByteSizeValue total)
    • getFreeBytesThresholdHighStage

      public ByteSizeValue getFreeBytesThresholdHighStage(ByteSizeValue total)
    • getFreeBytesThresholdFloodStage

      public ByteSizeValue getFreeBytesThresholdFloodStage(ByteSizeValue total)
    • getFreeBytesThresholdFrozenFloodStage

      public ByteSizeValue getFreeBytesThresholdFrozenFloodStage(ByteSizeValue total)
    • getMinimumTotalSizeForBelowLowWatermark

      public ByteSizeValue getMinimumTotalSizeForBelowLowWatermark(ByteSizeValue used)
    • isEnabled

      public boolean isEnabled()
    • getRerouteInterval

      public TimeValue getRerouteInterval()
    • describeLowThreshold

      public String describeLowThreshold(ByteSizeValue total, boolean includeSettingKey)
    • describeHighThreshold

      public String describeHighThreshold(ByteSizeValue total, boolean includeSettingKey)
    • describeFloodStageThreshold

      public String describeFloodStageThreshold(ByteSizeValue total, boolean includeSettingKey)
    • describeFrozenFloodStageThreshold

      public String describeFrozenFloodStageThreshold(ByteSizeValue total, boolean includeSettingKey)