add toString to DeadHostState class

This commit is contained in:
javanna 2016-06-01 14:38:46 +02:00 committed by Luca Cavanna
parent c9db111387
commit 6d66fbd9c1
1 changed files with 8 additions and 0 deletions

View File

@ -55,4 +55,12 @@ class DeadHostState {
long getDeadUntil() { long getDeadUntil() {
return deadUntil; return deadUntil;
} }
@Override
public String toString() {
return "DeadHostState{" +
"failedAttempts=" + failedAttempts +
", deadUntil=" + deadUntil +
'}';
}
} }