Class HealthCheckExtrasBundle<T extends io.dropwizard.core.Configuration>

java.lang.Object
io.dyuti.dropwizard.HealthCheckExtrasBundle<T>
All Implemented Interfaces:
io.dropwizard.core.ConfiguredBundle<T>

public abstract class HealthCheckExtrasBundle<T extends io.dropwizard.core.Configuration> extends Object implements io.dropwizard.core.ConfiguredBundle<T>
Bundle that allows initializing TCP and HTTP(s) health checks with easy configuration
  • Constructor Details

    • HealthCheckExtrasBundle

      public HealthCheckExtrasBundle()
  • Method Details

    • initialize

      public void initialize(io.dropwizard.core.setup.Bootstrap<?> bootstrap)
      Specified by:
      initialize in interface io.dropwizard.core.ConfiguredBundle<T extends io.dropwizard.core.Configuration>
    • getConfig

      public abstract HealthcheckExtrasConfig getConfig(T configuration)
    • getAlertPublisher

      public AlertPublisher getAlertPublisher()
    • getHostSource

      public Map<String, Supplier<List<InetSocketAddress>>> getHostSource()
    • run

      public void run(T configuration, io.dropwizard.core.setup.Environment environment)
      Specified by:
      run in interface io.dropwizard.core.ConfiguredBundle<T extends io.dropwizard.core.Configuration>