| Modifier and Type | Interface and Description |
|---|---|
static interface |
Timer.Context
A timing context.
|
| Modifier and Type | Method and Description |
|---|---|
Timer.Context |
time()
Returns a new
Timer.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 durationTimer.Context time()
Timer.Context.Timer.ContextTimer.ContextCopyright © 2010 - 2023 Adobe. All Rights Reserved