Class MetricManager


  • public class MetricManager
    extends java.lang.Object
    The MetricManager will manage all Metric
    Author:
    f.conrads
    • Constructor Detail

      • MetricManager

        public MetricManager()
    • Method Detail

      • addMetric

        public void addMetric​(Metric metric)
        WIll add a metric to the manager
        Parameters:
        metric -
      • getMetrics

        public java.util.Set<Metric> getMetrics()
      • addMetaData

        public void addMetaData​(java.util.Properties metaData)
        Will add the meta Data to all metrics
        Parameters:
        metaData -
      • receiveData

        public void receiveData​(java.util.Properties p)
        This will message the received properties to all defined metrics.
        Parameters:
        p -
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • close

        public void close()
        Will close all metrics
      • addMetrics

        public void addMetrics​(java.util.List<Metric> metrics)