@InterfaceAudience.Public @InterfaceStability.Evolving public class MonotonicClock extends Object implements Clock
Constructor and Description |
---|
MonotonicClock() |
Modifier and Type | Method and Description |
---|---|
long |
getTime()
Get current time from some arbitrary time base in the past, counting in
milliseconds, and not affected by settimeofday or similar system clock
changes.
|
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.