Class TexarchiveHealthCheck

java.lang.Object
com.codahale.metrics.health.HealthCheck
org.ctan.site.health.TexarchiveHealthCheck

public class TexarchiveHealthCheck extends com.codahale.metrics.health.HealthCheck
The class TexarchiveHealthCheck contains the health check for the texarchive end-points.
  • 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
    This is the constructor for the class AppHealthCheck.
  • 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
  • Constructor Details

    • TexarchiveHealthCheck

      public TexarchiveHealthCheck(CtanConfiguration config)
      This is the constructor for the class AppHealthCheck.
      Parameters:
      config - the configuration
  • Method Details

    • check

      protected com.codahale.metrics.health.HealthCheck.Result check() throws Exception
      Specified by:
      check in class com.codahale.metrics.health.HealthCheck
      Throws:
      Exception
      See Also:
      • HealthCheck.check()