Class HystrixModule.Config

  • Enclosing class:
    HystrixModule

    public static class HystrixModule.Config
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long DEFAULT_INTERVAL  
    • Constructor Summary

      Constructors 
      Constructor Description
      Config()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getStreamInterval()
      The configured stream interval in seconds;
      HystrixModule.Config streamInterval​(long streamInterval)
      Configure the number of seconds between periodic publications.
      • Methods inherited from class java.lang.Object

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

      • Config

        public Config()
    • Method Detail

      • getStreamInterval

        public long getStreamInterval()
        The configured stream interval in seconds;
        Returns:
        the configured stream interval in seconds;
      • streamInterval

        public HystrixModule.Config streamInterval​(long streamInterval)
        Configure the number of seconds between periodic publications.
        Parameters:
        streamInterval - the number of seconds between publications in seconds
        Returns:
        this