public abstract class ServiceDiscoveryBundle<T extends io.dropwizard.Configuration> extends Object implements io.dropwizard.ConfiguredBundle<T>
| Modifier | Constructor and Description |
|---|---|
protected |
ServiceDiscoveryBundle() |
protected |
ServiceDiscoveryBundle(List<IdValidationConstraint> globalIdConstraints) |
| Modifier and Type | Method and Description |
|---|---|
protected List<com.flipkart.ranger.healthservice.monitor.IsolatedHealthMonitor> |
getHealthMonitors() |
protected String |
getHost() |
protected int |
getPort(T configuration) |
protected abstract ServiceDiscoveryConfiguration |
getRangerConfiguration(T configuration) |
protected abstract String |
getServiceName(T configuration) |
void |
initialize(io.dropwizard.setup.Bootstrap<?> bootstrap) |
void |
registerHealthcheck(com.flipkart.ranger.healthcheck.Healthcheck healthcheck) |
void |
registerHealthchecks(List<com.flipkart.ranger.healthcheck.Healthcheck> healthchecks) |
void |
run(T configuration,
io.dropwizard.setup.Environment environment) |
protected ServiceDiscoveryBundle()
protected ServiceDiscoveryBundle(List<IdValidationConstraint> globalIdConstraints)
public void initialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
initialize in interface io.dropwizard.ConfiguredBundle<T extends io.dropwizard.Configuration>protected abstract ServiceDiscoveryConfiguration getRangerConfiguration(T configuration)
protected List<com.flipkart.ranger.healthservice.monitor.IsolatedHealthMonitor> getHealthMonitors()
protected int getPort(T configuration)
public void registerHealthcheck(com.flipkart.ranger.healthcheck.Healthcheck healthcheck)
public void registerHealthchecks(List<com.flipkart.ranger.healthcheck.Healthcheck> healthchecks)
Copyright © 2019. All rights reserved.