public static class HystrixBundle.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
HystrixBundle |
build()
Builds a new instance of the Bundle based on previous inputs (or defaults if none has been provided).
|
HystrixBundle.Builder |
disableMetricsPublisher()
Disables the Hystrix to DropWizard (i.e CodaHale) Metrics publisher
|
HystrixBundle.Builder |
disableStreamServletInAdminContext()
Disables the HystrixMetricsStreamServlet from being registered in the admin context
|
HystrixBundle.Builder |
withAdminStreamUri(String path)
Configure the path that the HystrixMetricsStreamServlet will be mapped to in the admin context
|
HystrixBundle.Builder |
withApplicationStreamPath(String path)
Enables the registration of the HystrixMetricsStreamServlet in the application context
|
public HystrixBundle.Builder withAdminStreamUri(String path)
path - a valid servlet mapping pathpublic HystrixBundle.Builder disableStreamServletInAdminContext()
public HystrixBundle.Builder withApplicationStreamPath(String path)
path - the path to map the servlet to (must be a valid servlet mapping path)public HystrixBundle.Builder disableMetricsPublisher()
public HystrixBundle build()
Copyright © 2015–2016 Sondre Eikanger Kvalø. All rights reserved..