Class 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
    • Method Detail

      • updateProperties

        public void updateProperties​(Map<String,​String> properties)
      • 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()