com.alibaba.rocketmq.common.stats
类 StatsItemSet

java.lang.Object
  继承者 com.alibaba.rocketmq.common.stats.StatsItemSet

public class StatsItemSet
extends Object


构造方法摘要
StatsItemSet(String statsName, ScheduledExecutorService scheduledExecutorService, org.slf4j.Logger log)
           
 
方法摘要
 void addValue(String statsKey, int incValue, int incTimes)
           
 StatsItem getAndCreateStatsItem(String statsKey)
           
 StatsSnapshot getStatsDataInDay(String statsKey)
           
 StatsSnapshot getStatsDataInHour(String statsKey)
           
 StatsSnapshot getStatsDataInMinute(String statsKey)
           
 StatsItem getStatsItem(String statsKey)
           
 void init()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

StatsItemSet

public StatsItemSet(String statsName,
                    ScheduledExecutorService scheduledExecutorService,
                    org.slf4j.Logger log)
方法详细信息

getAndCreateStatsItem

public StatsItem getAndCreateStatsItem(String statsKey)

addValue

public void addValue(String statsKey,
                     int incValue,
                     int incTimes)

getStatsDataInMinute

public StatsSnapshot getStatsDataInMinute(String statsKey)

getStatsDataInHour

public StatsSnapshot getStatsDataInHour(String statsKey)

getStatsDataInDay

public StatsSnapshot getStatsDataInDay(String statsKey)

getStatsItem

public StatsItem getStatsItem(String statsKey)

init

public void init()


Copyright © 2012-2015. All Rights Reserved.