| Modifier and Type | Class and Description |
|---|---|
static class |
HystrixBundle.Builder
A builder that is convenient to use if you need to configure this bundle in any way
|
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_STREAM_PATH
The default path that will be used for binding the HystrixMetricsStreamServlet to the admin context.
|
static String |
SERVLET_NAME |
| Modifier and Type | Method and Description |
|---|---|
static HystrixBundle.Builder |
builder()
Creates a new @{link Builder} that may be used to configure this bundle's behaviour.
|
void |
initialize(Bootstrap<?> bootstrap) |
void |
run(Environment environment) |
static HystrixBundle |
withDefaultSettings()
Creates a bundle instance with default settings i.e the HystrixMetricsStreamServlet will be added to
the admin context mapped by the @{link #DEFAULT_STREAM_PATH} path and the Hystrix to
DropWizard metrics publisher is enabled
|
public static final String DEFAULT_STREAM_PATH
public static final String SERVLET_NAME
public static HystrixBundle withDefaultSettings()
public static HystrixBundle.Builder builder()
public void initialize(Bootstrap<?> bootstrap)
initialize in interface Bundlepublic void run(Environment environment)
Copyright © 2015–2016 Sondre Eikanger Kvalø. All rights reserved..