public interface RegistryConfig
Modifier and Type | Method and Description |
---|---|
default Duration |
gaugePollingFrequency()
How often registered gauges should get polled.
|
String |
get(String k)
Get the value associated with a key.
|
default int |
maxNumberOfMeters()
For classes based on
AbstractRegistry this setting is used
to determine the maximum number of registered meters permitted. |
default boolean |
propagateWarnings()
Should an exception be thrown for warnings?
|
String get(String k)
k
- Key to lookup in the config.default boolean propagateWarnings()
default int maxNumberOfMeters()
AbstractRegistry
this setting is used
to determine the maximum number of registered meters permitted. This limit is used to help
protect the system from a memory leak if there is a bug or irresponsible usage of registering
meters.Integer.MAX_VALUE
.default Duration gaugePollingFrequency()