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
    Modifier and Type
    Field
    Description
    private final com.codahale.metrics.Gauge<T>
     
    private final T
     
    private final T
     
    private static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    GaugeHealthCheck(com.codahale.metrics.Gauge<T> gauge, @Nullable T high, @Nullable T low)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.codahale.metrics.health.HealthCheck.Result
     

    Methods inherited from class com.codahale.metrics.health.HealthCheck

    clock, execute

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • GaugeHealthCheck

      public GaugeHealthCheck(com.codahale.metrics.Gauge<T> gauge, @Nullable T high, @Nullable T low)
  • Method Details

    • check

      protected com.codahale.metrics.health.HealthCheck.Result check()
      Specified by:
      check in class com.codahale.metrics.health.HealthCheck