| 构造器和说明 |
|---|
CachedMetricSet() |
CachedMetricSet(long dataTTL,
TimeUnit unit) |
CachedMetricSet(long dataTTL,
TimeUnit unit,
Clock clock) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
lastUpdateTime()
Return the last update time in milliseconds
|
void |
refreshIfNecessary()
Do not collect data if our cached copy of data is valid.
|
getMetricspublic CachedMetricSet()
public CachedMetricSet(long dataTTL,
TimeUnit unit)
public void refreshIfNecessary()
public long lastUpdateTime()
MetriclastUpdateTime 在接口中 MetricCopyright © 2019. All rights reserved.