| 限定符和类型 | 方法和说明 |
|---|---|
long |
getCount()
Returns the number of events which have been marked.
|
double |
getFifteenMinuteRate()
Returns the fifteen-minute exponentially-weighted moving average rate at which events have
occurred since the meter was created.
|
double |
getFiveMinuteRate()
Returns the five-minute exponentially-weighted moving average rate at which events have
occurred since the meter was created.
|
Map<Long,Long> |
getInstantCount()
Get the accurate number per collecting interval
|
Map<Long,Long> |
getInstantCount(long startTime)
Get the accurate number per collecting interval since (including) the start time
|
int |
getInstantCountInterval()
Get the collecting interval
|
double |
getMeanRate()
Returns the mean rate at which events have occurred since the meter was created.
|
double |
getOneMinuteRate()
Returns the one-minute exponentially-weighted moving average rate at which events have
occurred since the meter was created.
|
lastUpdateTimelong getCount()
Map<Long,Long> getInstantCount()
Map<Long,Long> getInstantCount(long startTime)
startTime - the start time of the queryint getInstantCountInterval()
double getFifteenMinuteRate()
top Unix command.double getFiveMinuteRate()
top Unix command.double getMeanRate()
double getOneMinuteRate()
top Unix command.Copyright © 2019. All rights reserved.