Class Context


  • public class Context
    extends java.lang.Object
    A Context object to store all parameters required by the HealthCheckService to calculate the overall Health.
    Author:
    mvrueden
    • Constructor Summary

      Constructors 
      Constructor Description
      Context()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.Duration getMaxAge()  
      long getTimeout()  
      void setMaxAge​(java.time.Duration value)  
      void setTimeout​(long timeoutInMs)  
      • Methods inherited from class java.lang.Object

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

      • Context

        public Context()
    • Method Detail

      • setTimeout

        public void setTimeout​(long timeoutInMs)
      • getTimeout

        public long getTimeout()
      • setMaxAge

        public void setMaxAge​(java.time.Duration value)
      • getMaxAge

        public java.time.Duration getMaxAge()