public final class SystemMillisClock extends Object implements Clock
Clock interface that returns the system time in millisecond granularity.| Constructor and Description |
|---|
SystemMillisClock() |
| Modifier and Type | Method and Description |
|---|---|
long |
currentTimeMillis()
Returns the system time.
|
public SystemMillisClock()
public long currentTimeMillis()
currentTimeMillis in interface ClockSystem.currentTimeMillis()Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.