|
@@ -12,6 +12,7 @@ import org.elasticsearch.Version;
|
|
|
import org.elasticsearch.cluster.AbstractNamedDiffable;
|
|
|
import org.elasticsearch.cluster.ClusterState;
|
|
|
import org.elasticsearch.cluster.NamedDiff;
|
|
|
+import org.elasticsearch.common.Strings;
|
|
|
import org.elasticsearch.common.collect.Iterators;
|
|
|
import org.elasticsearch.common.io.stream.StreamInput;
|
|
|
import org.elasticsearch.common.io.stream.StreamOutput;
|
|
@@ -96,6 +97,11 @@ public final class HealthMetadata extends AbstractNamedDiffable<ClusterState.Cus
|
|
|
return Objects.hash(diskMetadata);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "HealthMetadata{diskMetadata=" + Strings.toString(diskMetadata) + '}';
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Contains the thresholds necessary to determine the health of the disk space of a node. The thresholds are determined by the elected
|
|
|
* master.
|