Class DbMetricsReporter


  • public class DbMetricsReporter
    extends java.lang.Object
    Author:
    Daniel Meyer
    • Field Detail

      • reporterId

        protected java.lang.String reporterId
      • reportingIntervalInSeconds

        protected long reportingIntervalInSeconds
    • Method Detail

      • initMetricsCollectionTask

        protected void initMetricsCollectionTask()
      • start

        public void start()
      • stop

        public void stop()
      • reportNow

        public void reportNow()
      • reportValueAtOnce

        public void reportValueAtOnce​(java.lang.String name,
                                      long value)
      • getReportingIntervalInSeconds

        public long getReportingIntervalInSeconds()
      • setReportingIntervalInSeconds

        public void setReportingIntervalInSeconds​(long reportingIntervalInSeconds)
      • setMetricsCollectionTask

        public void setMetricsCollectionTask​(MetricsCollectionTask metricsCollectionTask)
      • setReporterId

        public void setReporterId​(java.lang.String reporterId)