|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.taobao.metamorphosis.utils.monitor.MonitorLog
public class MonitorLog
应用埋点客户调用接口
字段摘要 | |
---|---|
static int |
appMaxKey
|
static int |
middlewareMaxKey
|
方法摘要 | |
---|---|
static void |
addMiddlewareStat(String middlewareName,
String keyOne,
String keyTwo,
String keyThree)
|
static void |
addMiddlewareStat(String middlewareName,
String keyOne,
String keyTwo,
String keyThree,
long value1,
long value2)
|
static void |
addStat(Keys keys,
long value1,
long value2)
|
static void |
addStat(String keyOne,
String keyTwo,
String keyThree)
keyOne,keyTwo,keyThree不能带有类似\n的回行 |
static void |
addStat(String keyOne,
String keyTwo,
String keyThree,
long value1,
long value2)
keyOne,keyTwo,keyThree不能带有类似\n的回行 |
static void |
addStatValue2(String keyOne,
String keyTwo,
String keyThree,
long value)
keyOne,keyTwo,keyThree不能带有类似\n的回行 |
static void |
addStatWithAppName(String appName,
String keyOne,
String keyTwo,
String keyThree,
long value1,
long value2)
已过时。 |
int |
getAppMaxKey()
|
protected static ValueObject |
getAppValueObject(Keys keys)
这个方法将确保不会返回null。 |
boolean |
getJVMInfoPower()
|
static String |
getLogFileAbsolutePath()
|
int |
getMiddlewareMaxKey()
|
protected static ValueObject |
getMiddlewareValueObject(Keys keys)
这个方法将确保不会返回null。 |
long |
getWaitTime()
|
static void |
immediateAddStat(String keyOne,
String keyTwo,
String keyThree,
long value1,
long value2)
|
static boolean |
isWriteLog()
|
static void |
main(String[] args)
读取配置信息 |
static void |
registerSelf()
把TBCacheManager自己注册到MBeanServer |
static void |
runWriteThread()
执行写入线程 |
void |
setAppMaxKey(int appMaxKey)
|
static void |
setHostName()
设置hostName |
void |
setJVMInfoPower(boolean power)
|
void |
setMiddlewareMaxKey(int middlewareMaxKey)
|
void |
setWaitTime(long waitTime)
|
static void |
setWriteLog(boolean writeLog)
|
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
public static int appMaxKey
public static int middlewareMaxKey
方法详细信息 |
---|
public static void setHostName()
public static void runWriteThread()
public static String getLogFileAbsolutePath()
public static void addStat(String keyOne, String keyTwo, String keyThree)
keyOne
- keyTwo
- keyThree
- public static void addStatValue2(String keyOne, String keyTwo, String keyThree, long value)
keyOne
- keyTwo
- keyThree
- value
- public static void addStat(String keyOne, String keyTwo, String keyThree, long value1, long value2)
keyOne
- keyTwo
- keyThree
- value1
- value2
- @Deprecated public static void addStatWithAppName(String appName, String keyOne, String keyTwo, String keyThree, long value1, long value2)
public static void addMiddlewareStat(String middlewareName, String keyOne, String keyTwo, String keyThree)
public static void addMiddlewareStat(String middlewareName, String keyOne, String keyTwo, String keyThree, long value1, long value2)
public static void addStat(Keys keys, long value1, long value2)
public static void immediateAddStat(String keyOne, String keyTwo, String keyThree, long value1, long value2)
public static boolean isWriteLog()
public static void setWriteLog(boolean writeLog)
public long getWaitTime()
public void setWaitTime(long waitTime)
public boolean getJVMInfoPower()
public void setJVMInfoPower(boolean power)
public int getAppMaxKey()
public void setAppMaxKey(int appMaxKey)
public int getMiddlewareMaxKey()
public void setMiddlewareMaxKey(int middlewareMaxKey)
protected static ValueObject getAppValueObject(Keys keys)
protected static ValueObject getMiddlewareValueObject(Keys keys)
public static void registerSelf()
把TBCacheManager自己注册到MBeanServer
public static void main(String[] args)
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |