| 限定符和类型 | 类和说明 |
|---|---|
static class |
Clock.CpuTimeClock
A clock implementation which returns the current thread's CPU time.
|
static class |
Clock.UserTimeClock
A clock implementation which returns the current time in epoch nanoseconds.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Clock |
Clock.defaultClock()
The default clock to use.
|
| 构造器和说明 |
|---|
CachedMetricSet(long dataTTL,
TimeUnit unit,
Clock clock) |
Copyright © 2019. All rights reserved.