Class EngineRuntime.DiskSpaceHealthCheck

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

private static class EngineRuntime.DiskSpaceHealthCheck 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 static final String
     
    private static final String
     
    private static final long
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.codahale.metrics.health.HealthCheck.Result
     
    static long
    toGB(long noOfBytes)
     

    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

  • Constructor Details

    • DiskSpaceHealthCheck

      private DiskSpaceHealthCheck()
  • Method Details

    • check

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

      public static long toGB(long noOfBytes)