com.taobao.metamorphosis.utils
类 MetaStatLog
java.lang.Object
com.taobao.metamorphosis.utils.MetaStatLog
public final class MetaStatLog
- extends Object
StatLog的包装类
- 从以下版本开始:
- 1.0, 2009-6-2 下午03:15:37
- 作者:
- boyan
方法摘要 |
static void |
addStat(String appName,
String keyOne)
|
static void |
addStat(String appName,
String keyOne,
String keyTwo)
|
static void |
addStat(String appName,
String keyOne,
String keyTwo,
String keyThree)
|
static void |
addStatValue2(String appName,
String keyOne,
long value)
|
static void |
addStatValue2(String appName,
String keyOne,
String keyTwo,
long value)
|
static void |
addStatValue2(String appName,
String keyOne,
String keyTwo,
String keyThree,
long value)
|
static void |
clearRealTimeStat()
|
static long |
getDuration()
|
static String |
getGroupedRealTimeStatResult(String key1)
|
static String |
getGroupedRealTimeStatResult(String key1,
String key2)
|
static List<String> |
getRealTimeStatItemNames()
|
static String |
getRealTimeStatResult(String key1,
String key2,
String key3)
|
static void |
realTimeStat(String key1,
String key2,
String key3,
long value)
|
static void |
resetRealTimeStat()
|
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startRealTimeStat
public static boolean startRealTimeStat
lastResetTime
public static volatile long lastResetTime
OUTPUT_FORMAT
public static String OUTPUT_FORMAT
clearRealTimeStat
public static void clearRealTimeStat()
resetRealTimeStat
public static final void resetRealTimeStat()
getRealTimeStatItemNames
public static List<String> getRealTimeStatItemNames()
getRealTimeStatResult
public static final String getRealTimeStatResult(String key1,
String key2,
String key3)
getGroupedRealTimeStatResult
public static final String getGroupedRealTimeStatResult(String key1)
getGroupedRealTimeStatResult
public static final String getGroupedRealTimeStatResult(String key1,
String key2)
getDuration
public static long getDuration()
addStat
public static final void addStat(String appName,
String keyOne,
String keyTwo,
String keyThree)
realTimeStat
public static final void realTimeStat(String key1,
String key2,
String key3,
long value)
addStat
public static final void addStat(String appName,
String keyOne,
String keyTwo)
addStat
public static final void addStat(String appName,
String keyOne)
addStatValue2
public static final void addStatValue2(String appName,
String keyOne,
long value)
addStatValue2
public static final void addStatValue2(String appName,
String keyOne,
String keyTwo,
long value)
addStatValue2
public static final void addStatValue2(String appName,
String keyOne,
String keyTwo,
String keyThree,
long value)
Copyright © 2010–2013. All rights reserved.