public class MetricsConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_FILE |
Constructor and Description |
---|
MetricsConfiguration(Properties properties) |
Modifier and Type | Method and Description |
---|---|
static MetricsConfiguration |
getMetricsConfiguration() |
Properties |
getProperties() |
String |
getProperty(String key)
Get the property value for the given key.
|
String |
getProperty(String key,
String defaultValue)
Get the property value for the given key.
|
static MetricsConfiguration |
getSubsetConfiguration(MetricsConfiguration metricsConfiguration,
String prefix)
Get
|
public static final String CONFIG_FILE
public MetricsConfiguration(Properties properties)
public static MetricsConfiguration getMetricsConfiguration()
public String getProperty(String key)
public String getProperty(String key, String defaultValue)
public Properties getProperties()
public static MetricsConfiguration getSubsetConfiguration(MetricsConfiguration metricsConfiguration, String prefix)
metricsConfiguration
- prefix
- Copyright © 2022 Apache Software Foundation. All rights reserved.