public interface Timer
Modifier and Type | Method and Description |
---|---|
void |
update(long duration,
TimeUnit unit)
Adds recorded duration
|
void update(long duration, TimeUnit unit)
duration
- Duration with scale of unitunit
- Time unit of durationCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.