java.lang.Object
com.codahale.metrics.health.HealthCheck
ru.vyarus.dropwizard.guice.module.installer.feature.health.NamedHealthCheck

public abstract class NamedHealthCheck extends com.codahale.metrics.health.HealthCheck
Base class for automatic health check registration. Additional class required, because check must be registered with name, not available in base healthcheck.
Since:
01.09.2014
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract String
     

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

    check, clock, execute

    Methods inherited from class java.lang.Object

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

    • NamedHealthCheck

      public NamedHealthCheck()
  • Method Details

    • getName

      public abstract String getName()
      Returns:
      health check name