public class MethodMonitor extends Object
| 构造器和说明 |
|---|
MethodMonitor(org.apache.commons.logging.Log logger) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addDisplay(Display display) |
List<Display> |
getDisplayList() |
ConcurrentSkipListMap<String,ConcurrentSkipListMap<String,KeyValuePair<AtomicLong,AtomicLong>>> |
getMonitorTable() |
void |
init() |
void |
initMethodCountTimer() |
void |
methodCount(String key,
long startTime) |
void |
methodCount(String roleKey,
String methodKey,
long startTime) |
public void init()
throws InitException
InitExceptionpublic void initMethodCountTimer()
throws InitException
InitExceptionpublic void addDisplay(Display display)
public void methodCount(String key, long startTime)
public ConcurrentSkipListMap<String,ConcurrentSkipListMap<String,KeyValuePair<AtomicLong,AtomicLong>>> getMonitorTable()
Copyright © 2018. All rights reserved.