接口 CounterService

    • 方法详细资料

      • increment

        void increment​(String metricName)
        Increment the specified counter by 1.
        参数:
        metricName - the name of the counter
      • decrement

        void decrement​(String metricName)
        Decrement the specified counter by 1.
        参数:
        metricName - the name of the counter
      • reset

        void reset​(String metricName)
        Reset the specified counter.
        参数:
        metricName - the name of the counter