From 6d66fbd9c15caab1f3fe089fd7ba2fc4c5c8189d Mon Sep 17 00:00:00 2001 From: javanna Date: Wed, 1 Jun 2016 14:38:46 +0200 Subject: [PATCH] add toString to DeadHostState class --- .../main/java/org/elasticsearch/client/DeadHostState.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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 + + '}'; + } }