public class HystrixBundle extends Object implements io.dropwizard.Bundle
| 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(io.dropwizard.setup.Bootstrap<?> bootstrap) |
void |
run(io.dropwizard.setup.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(io.dropwizard.setup.Bootstrap<?> bootstrap)
initialize in interface io.dropwizard.Bundlepublic void run(io.dropwizard.setup.Environment environment)
run in interface io.dropwizard.BundleCopyright © 2015. All rights reserved.