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() |
public StatsItemSet(String statsName, ScheduledExecutorService scheduledExecutorService, org.slf4j.Logger log)
public void init()
public void addValue(String statsKey, int incValue, int incTimes)
public StatsSnapshot getStatsDataInMinute(String statsKey)
public StatsSnapshot getStatsDataInHour(String statsKey)
public StatsSnapshot getStatsDataInDay(String statsKey)
Copyright © 2012–2016. All rights reserved.