Interface DropwizardConfig

All Superinterfaces:
MeterRegistryConfig

public interface DropwizardConfig extends MeterRegistryConfig
Base configuration for DropwizardMeterRegistry.
  • Method Details

    • step

      default Duration step()
      Returns:
      The step size (reporting frequency, max decaying) to use. The default is 1 minute.
    • validate

      default Validated<?> validate()
      Description copied from interface: MeterRegistryConfig
      Validate configuration.
      Specified by:
      validate in interface MeterRegistryConfig
      Returns:
      validation result
    • validate

      static Validated<?> validate(DropwizardConfig config)
      Validate a provided configuration.
      Parameters:
      config - configuration to validate
      Returns:
      validation result
      Since:
      1.5.0