Interface MeterRegistryConfig
- All Known Subinterfaces:
DropwizardConfig,LoggingRegistryConfig,PushRegistryConfig,SimpleConfig,StepRegistryConfig
public interface MeterRegistryConfig
-
Method Summary
Modifier and TypeMethodDescriptionGet the value associated with a key.prefix()default voidValidate configuration and throwValidationExceptionif it's not valid.default Validated<?> validate()Validate configuration.
-
Method Details
-
prefix
String prefix() -
get
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
Validate configuration.- Returns:
- validation result
- Since:
- 1.5.0
-
requireValid
Validate configuration and throwValidationExceptionif it's not valid.- Throws:
ValidationException- if it's not valid- Since:
- 1.5.0
-