Interface MeterRegistryConfig

All Known Subinterfaces:
DropwizardConfig, LoggingRegistryConfig, PushRegistryConfig, SimpleConfig, StepRegistryConfig

public interface MeterRegistryConfig
  • Method Details

    • prefix

      String prefix()
    • get

      @Nullable String get(String key)
      Get the value associated with a key.
      Parameters:
      key - Key to lookup in the config.
      Returns:
      Value for the key or null if no key is present.
    • validate

      default Validated<?> validate()
      Validate configuration.
      Returns:
      validation result
      Since:
      1.5.0
    • requireValid

      default void requireValid() throws ValidationException
      Validate configuration and throw ValidationException if it's not valid.
      Throws:
      ValidationException - if it's not valid
      Since:
      1.5.0