add toString to DeadHostState class
This commit is contained in:
parent
c9db111387
commit
6d66fbd9c1
|
@ -55,4 +55,12 @@ class DeadHostState {
|
||||||
long getDeadUntil() {
|
long getDeadUntil() {
|
||||||
return deadUntil;
|
return deadUntil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "DeadHostState{" +
|
||||||
|
"failedAttempts=" + failedAttempts +
|
||||||
|
", deadUntil=" + deadUntil +
|
||||||
|
'}';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue