Class Metrics

    • Constructor Detail

      • Metrics

        public Metrics()
    • Method Detail

      • resetMetrics

        public void resetMetrics()
      • resetMetric

        public boolean resetMetric​(String name)
      • getMetric

        public long getMetric​(String name)
        Get the value of the metric, specified by the given symbolic name.
        Parameters:
        name - symbolic name of the metric
        Returns:
        value of the metric specified by the given symbolic name
      • setMetric

        public boolean setMetric​(String name,
                                 long value)
      • registerMetric

        public boolean registerMetric​(String name)
      • unregisterMetric

        public boolean unregisterMetric​(String name)