Class DiskThresholdMonitor
org.elasticsearch.cluster.routing.allocation.DiskThresholdMonitor
public class DiskThresholdMonitor
extends
Listens for a node to go over the high watermark and kicks off an empty
reroute if it does. Also responsible for logging about nodes that have
passed the disk watermarks
-
Constructor Summary
ConstructorDescriptionDiskThresholdMonitor(Settings settings, <ClusterState> clusterStateSupplier, ClusterSettings clusterSettings, Client client, currentTimeMillisSupplier, RerouteService rerouteService)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNewInfo(ClusterInfo info)
protected void
<> indicesToUpdate, > listener, boolean readOnly)
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
DiskThresholdMonitor
public DiskThresholdMonitor(Settings settings, <ClusterState> clusterStateSupplier, ClusterSettings clusterSettings, Client client, currentTimeMillisSupplier, RerouteService rerouteService)
-
-
Method Details
-
onNewInfo
-
updateIndicesReadOnly
protected void updateIndicesReadOnly(<> indicesToUpdate, > listener, boolean readOnly)
-