diff --git a/client/src/main/java/org/elasticsearch/client/DeadHostState.java b/client/src/main/java/org/elasticsearch/client/DeadHostState.java index 30a24bc2d5d..52ef6e2bc6b 100644 --- a/client/src/main/java/org/elasticsearch/client/DeadHostState.java +++ b/client/src/main/java/org/elasticsearch/client/DeadHostState.java @@ -55,4 +55,12 @@ class DeadHostState { long getDeadUntil() { return deadUntil; } + + @Override + public String toString() { + return "DeadHostState{" + + "failedAttempts=" + failedAttempts + + ", deadUntil=" + deadUntil + + '}'; + } }