public class DefaultHealthChecker extends java.lang.Object implements HealthChecker
| Constructor and Description |
|---|
DefaultHealthChecker(long healthRefreshNanos,
long trailingPeriodNanos,
long failureThreshold,
int failurePercentageThreshold,
long sampleSizeThreshold) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(long nanoTime) |
boolean |
isHealthy(long nanoTime) |
public DefaultHealthChecker(long healthRefreshNanos,
long trailingPeriodNanos,
long failureThreshold,
int failurePercentageThreshold,
long sampleSizeThreshold)
public boolean isHealthy(long nanoTime)
isHealthy in interface HealthCheckerpublic void init(long nanoTime)
Copyright © 2014 Tim Brooks. All Rights Reserved.