| 限定符和类型 | 方法和说明 |
|---|---|
int |
getBucketInterval()
获取统计间隔
|
Map<String,Map<Long,Long>> |
getCountAndRtPerCategory()
对于每个子类别,返回每个统计间隔的执行总时间和次数,按位分离操作放到下一层进行
return method execution time and count per bucket per category
|
Map<String,Map<Long,Long>> |
getCountAndRtPerCategory(long startTime)
对于每个子类别,返回每个统计间隔的执行总时间和次数,按位分离操作放到下一层进行
return method execution time and count per bucket per category
|
Map<String,Map<Long,Long>> |
getMethodCountPerCategory()
对于每个子类别,返回每个统计间隔的方法调用总次数
return method count per bucket per category
|
Map<String,Map<Long,Long>> |
getMethodCountPerCategory(long startTime)
对于每个子类别,返回每个统计间隔的方法调用总次数
return method count per bucket per category
|
Map<String,Map<Long,Long>> |
getMethodRtPerCategory()
对于每个子类别,返回每个统计间隔的方法执行总时间
return method execution time per bucket per category
|
Map<String,Map<Long,Long>> |
getMethodRtPerCategory(long startTime)
对于每个子类别,返回每个统计间隔的方法执行总时间
return method execution time per bucket per category
|
void |
record(long duration,
String subCategory)
记录一次方法调用的RT和子类别,子类别应当是正交的,不能有重叠
例如 成功/失败
record a method invocation with execution time and sub-categories
|
lastUpdateTimevoid record(long duration,
String subCategory)
duration - must be millisecondssubCategory - all the sub-categories should be orthogonal,
which will be added up to the total number of method invocationsMap<String,Map<Long,Long>> getMethodCountPerCategory()
Map<String,Map<Long,Long>> getMethodCountPerCategory(long startTime)
Map<String,Map<Long,Long>> getMethodRtPerCategory()
Map<String,Map<Long,Long>> getMethodRtPerCategory(long startTime)
Map<String,Map<Long,Long>> getCountAndRtPerCategory()
Map<String,Map<Long,Long>> getCountAndRtPerCategory(long startTime)
int getBucketInterval()
Copyright © 2019. All rights reserved.