Class AlertRegistry.TimerHealthCheck

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

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

    Constructors
    Constructor
    Description
    TimerHealthCheck(double high, double meanHigh, com.codahale.metrics.Timer timer)
     
  • 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
    • meanHigh

      private final double meanHigh
    • timer

      private final com.codahale.metrics.Timer timer
  • Constructor Details

    • TimerHealthCheck

      public TimerHealthCheck(double high, double meanHigh, com.codahale.metrics.Timer timer)
  • Method Details

    • check

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