类 Metrics


  • public class Metrics
    extends java.lang.Object
    Utility to collect statistical information.
    • 嵌套类概要

      嵌套类 
      修饰符和类型 说明
      static class  Metrics.MetricType
      Constants which are used as metric types.
    • 字段概要

      字段 
      修饰符和类型 字段 说明
      static java.util.Map<Metrics.MetricType,​java.lang.Integer> counts  
    • 构造器概要

      构造器 
      构造器 说明
      Metrics()  
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static java.lang.String flush()
      Get all collected data as a string and clear it afterwards.
      static void increaseCount​(Metrics.MetricType type)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 字段详细资料

      • counts

        public static final java.util.Map<Metrics.MetricType,​java.lang.Integer> counts
    • 构造器详细资料

      • Metrics

        public Metrics()
    • 方法详细资料

      • flush

        public static java.lang.String flush()
        Get all collected data as a string and clear it afterwards.