Class Configuration
- java.lang.Object
-
- org.opendaylight.infrautils.metrics.internal.Configuration
-
public final class Configuration extends Object
Configuration properties for the metrics implementation.Karaf's OSGi ConfigAdmin service, via the cm blueprint extension, sets this from the etc/org.opendaylight.infrautils.metrics.cfg configuration file.
- Author:
- Michael Vorburger.ch
-
-
Constructor Summary
Constructors Constructor Description Configuration(MetricProviderImpl metricProvider)
Configuration(MetricProviderImpl metricProvider, Map<String,String> initialProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDeadlockedThreadsMaxLogIntervalSecs()
int
getFileReporterIntervalSecs()
int
getMaxThreads()
int
getMaxThreadsMaxLogIntervalSecs()
int
getThreadsWatcherIntervalMS()
void
setDeadlockedThreadsMaxLogIntervalSecs(int deadlockedThreadsMaxLogIntervalSecs)
void
setFileReporterIntervalSecs(int fileReporterIntervalSecs)
void
setMaxThreads(int maxThreads)
void
setMaxThreadsMaxLogIntervalSecs(int maxThreadsMaxLogIntervalSecs)
void
setThreadsWatcherIntervalMS(int ms)
String
toString()
void
updateProperties(Map<String,String> properties)
-
-
-
Constructor Detail
-
Configuration
public Configuration(MetricProviderImpl metricProvider, Map<String,String> initialProperties)
-
Configuration
public Configuration(MetricProviderImpl metricProvider)
-
-
Method Detail
-
setFileReporterIntervalSecs
public void setFileReporterIntervalSecs(int fileReporterIntervalSecs)
-
getFileReporterIntervalSecs
public int getFileReporterIntervalSecs()
-
setThreadsWatcherIntervalMS
public void setThreadsWatcherIntervalMS(int ms)
-
getThreadsWatcherIntervalMS
public int getThreadsWatcherIntervalMS()
-
setMaxThreads
public void setMaxThreads(int maxThreads)
-
getMaxThreads
public int getMaxThreads()
-
setMaxThreadsMaxLogIntervalSecs
public void setMaxThreadsMaxLogIntervalSecs(int maxThreadsMaxLogIntervalSecs)
-
getMaxThreadsMaxLogIntervalSecs
public int getMaxThreadsMaxLogIntervalSecs()
-
setDeadlockedThreadsMaxLogIntervalSecs
public void setDeadlockedThreadsMaxLogIntervalSecs(int deadlockedThreadsMaxLogIntervalSecs)
-
getDeadlockedThreadsMaxLogIntervalSecs
public int getDeadlockedThreadsMaxLogIntervalSecs()
-
-