Package ratpack.hystrix
Class HystrixModule.Config
- java.lang.Object
-
- ratpack.hystrix.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.
-
-
-
Field Detail
-
DEFAULT_INTERVAL
public static final long DEFAULT_INTERVAL
- See Also:
- Constant Field Values
-
-
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
-
-