Class DatabaseHealthCheck

java.lang.Object
com.codahale.metrics.health.HealthCheck
de.hybris.platform.healthcheck.HybrisHealthCheck
de.hybris.platform.healthcheck.DatabaseHealthCheck
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

public class DatabaseHealthCheck extends HybrisHealthCheck
  • 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
    protected com.codahale.metrics.health.HealthCheck.Result
     
    void
    setTimeout(int timeout)
     

    Methods inherited from class de.hybris.platform.healthcheck.HybrisHealthCheck

    init, setBeanName, setRegistry

    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
  • Constructor Details

    • DatabaseHealthCheck

      public DatabaseHealthCheck()
  • Method Details

    • check

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

      public void setTimeout(int timeout)