Class AlertRegistry.MeterHealthCheck

java.lang.Object
com.codahale.metrics.health.HealthCheck
ch.rswk.meta.engine.AlertRegistry.MeterHealthCheck
Enclosing class:
AlertRegistry

private static class AlertRegistry.MeterHealthCheck 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 double
     
    private static final String
     
    private final com.codahale.metrics.Meter
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    MeterHealthCheck(double high, com.codahale.metrics.Meter meter)
     
  • 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

    • MESSAGE_FORMAT

      private static final String MESSAGE_FORMAT
      See Also:
    • high

      private final double high
    • meter

      private final com.codahale.metrics.Meter meter
  • Constructor Details

    • MeterHealthCheck

      public MeterHealthCheck(double high, com.codahale.metrics.Meter meter)
  • Method Details

    • check

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