Class Metrics.HealthChecker

    • Constructor Detail

      • HealthChecker

        public HealthChecker()
        Default constructor.
    • Method Detail

      • getHealthCheckDuration

        public com.codahale.metrics.Timer getHealthCheckDuration()
        Gets the Timer that tracks how long the health checks are taking to execute.
        Returns:
        the Timer that tracks how long the health checks are taking to execute.
      • getHealthCheckCount

        public com.codahale.metrics.Gauge<Integer> getHealthCheckCount()
        Gets the Gauge that tracks the number of health checks.
        Returns:
        the Gauge that tracks the number of health checks.
      • getHealthCheckScore

        public com.codahale.metrics.Gauge<Double> getHealthCheckScore()
        Gets the Gauge that tracks the health check score.
        Returns:
        the Gauge that tracks the health check score.
      • doRun

        public final void doRun()
        Schedules this periodic work now in a new thread, if one isn't already running. Copy and paste from AsyncPeriodicWork
        Specified by:
        doRun in class SafeTimerTask