public static class AbstractZoneFailureDetector.ZoneHistory
extends java.lang.Object
AbstractZoneFailureDetector.newZoneHistory(Location)
.Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.Throwable> |
causes |
java.util.List<java.lang.Long> |
failures |
java.util.List<java.lang.Long> |
successes |
Constructor and Description |
---|
AbstractZoneFailureDetector.ZoneHistory() |
Modifier and Type | Method and Description |
---|---|
void |
onFailure(long date,
java.lang.Throwable cause) |
void |
onSuccess(long date) |
void |
trimOlderThan(long date) |
public final java.util.List<java.lang.Long> successes
public final java.util.List<java.lang.Long> failures
public final java.util.List<java.lang.Throwable> causes