| Modifier and Type | Interface and Description |
|---|---|
static interface |
TimerStats.Context
A timing context.
|
| Modifier and Type | Method and Description |
|---|---|
TimerStats.Context |
time()
Returns a new
TimerStats.Context. |
void |
update(long duration,
java.util.concurrent.TimeUnit unit)
Adds a recorded duration.
|
void update(long duration,
java.util.concurrent.TimeUnit unit)
duration - the length of the durationunit - the scale unit of durationTimerStats.Context time()
TimerStats.Context.TimerStats.ContextTimerStats.ContextCopyright © 2010 - 2023 Adobe. All Rights Reserved