public class FastCompassImpl extends Object implements FastCompass
| 构造器和说明 |
|---|
FastCompassImpl(int bucketInterval) |
FastCompassImpl(int bucketInterval,
int numberOfBuckets,
Clock clock,
int maxCategoryCount) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getBucketInterval() |
Map<String,Map<Long,Long>> |
getCountAndRtPerCategory() |
Map<String,Map<Long,Long>> |
getCountAndRtPerCategory(long startTime) |
Map<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) |
long |
lastUpdateTime() |
void |
record(long duration,
String subCategory) |
public FastCompassImpl(int bucketInterval)
public FastCompassImpl(int bucketInterval,
int numberOfBuckets,
Clock clock,
int maxCategoryCount)
public void record(long duration,
String subCategory)
record 在接口中 FastCompasspublic Map<String,Map<Long,Long>> getMethodCountPerCategory()
getMethodCountPerCategory 在接口中 FastCompasspublic Map<String,Map<Long,Long>> getMethodRtPerCategory()
getMethodRtPerCategory 在接口中 FastCompasspublic Map<String,Map<Long,Long>> getMethodCountPerCategory(long startTime)
getMethodCountPerCategory 在接口中 FastCompasspublic Map<String,Map<Long,Long>> getMethodRtPerCategory(long startTime)
getMethodRtPerCategory 在接口中 FastCompasspublic int getBucketInterval()
getBucketInterval 在接口中 FastCompasspublic Map<String,Map<Long,Long>> getCountAndRtPerCategory()
getCountAndRtPerCategory 在接口中 FastCompasspublic Map<String,Map<Long,Long>> getCountAndRtPerCategory(long startTime)
getCountAndRtPerCategory 在接口中 FastCompasspublic long lastUpdateTime()
lastUpdateTime 在接口中 MetricCopyright © 2019. All rights reserved.