public class DiskThresholdSettings
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Setting<java.lang.Boolean> |
CLUSTER_ROUTING_ALLOCATION_DISK_THRESHOLD_ENABLED_SETTING |
static Setting<java.lang.String> |
CLUSTER_ROUTING_ALLOCATION_HIGH_DISK_WATERMARK_SETTING |
static Setting<java.lang.Boolean> |
CLUSTER_ROUTING_ALLOCATION_INCLUDE_RELOCATIONS_SETTING |
static Setting<java.lang.String> |
CLUSTER_ROUTING_ALLOCATION_LOW_DISK_WATERMARK_SETTING |
static Setting<TimeValue> |
CLUSTER_ROUTING_ALLOCATION_REROUTE_INTERVAL_SETTING |
Constructor and Description |
---|
DiskThresholdSettings(Settings settings,
ClusterSettings clusterSettings) |
Modifier and Type | Method and Description |
---|---|
ByteSizeValue |
getFreeBytesThresholdHigh() |
ByteSizeValue |
getFreeBytesThresholdLow() |
java.lang.Double |
getFreeDiskThresholdHigh() |
java.lang.Double |
getFreeDiskThresholdLow() |
java.lang.String |
getHighWatermarkRaw()
Gets the raw (uninterpreted) high watermark value as found in the settings.
|
java.lang.String |
getLowWatermarkRaw()
Gets the raw (uninterpreted) low watermark value as found in the settings.
|
TimeValue |
getRerouteInterval() |
boolean |
includeRelocations() |
boolean |
isEnabled() |
public static final Setting<java.lang.Boolean> CLUSTER_ROUTING_ALLOCATION_DISK_THRESHOLD_ENABLED_SETTING
public static final Setting<java.lang.String> CLUSTER_ROUTING_ALLOCATION_LOW_DISK_WATERMARK_SETTING
public static final Setting<java.lang.String> CLUSTER_ROUTING_ALLOCATION_HIGH_DISK_WATERMARK_SETTING
public static final Setting<java.lang.Boolean> CLUSTER_ROUTING_ALLOCATION_INCLUDE_RELOCATIONS_SETTING
public DiskThresholdSettings(Settings settings, ClusterSettings clusterSettings)
public java.lang.String getLowWatermarkRaw()
public java.lang.String getHighWatermarkRaw()
public java.lang.Double getFreeDiskThresholdLow()
public java.lang.Double getFreeDiskThresholdHigh()
public ByteSizeValue getFreeBytesThresholdLow()
public ByteSizeValue getFreeBytesThresholdHigh()
public boolean includeRelocations()
public boolean isEnabled()
public TimeValue getRerouteInterval()