Package ch.rswk.meta.engine
Class AlertRegistry.GaugeHealthCheck<T extends Comparable<T>>
java.lang.Object
com.codahale.metrics.health.HealthCheck
ch.rswk.meta.engine.AlertRegistry.GaugeHealthCheck<T>
- Enclosing class:
AlertRegistry
private static class AlertRegistry.GaugeHealthCheck<T extends Comparable<T>>
extends com.codahale.metrics.health.HealthCheck
-
Nested Class Summary
Nested classes/interfaces inherited from class com.codahale.metrics.health.HealthCheck
com.codahale.metrics.health.HealthCheck.Result, com.codahale.metrics.health.HealthCheck.ResultBuilder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGaugeHealthCheck
(com.codahale.metrics.Gauge<T> gauge, @Nullable T high, @Nullable T low) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codahale.metrics.health.HealthCheck.Result
check()
Methods inherited from class com.codahale.metrics.health.HealthCheck
clock, execute
-
Field Details
-
MESSAGE_FORMAT
- See Also:
-
gauge
-
high
-
low
-
-
Constructor Details
-
GaugeHealthCheck
-
-
Method Details
-
check
protected com.codahale.metrics.health.HealthCheck.Result check()- Specified by:
check
in classcom.codahale.metrics.health.HealthCheck
-