Package | Description |
---|---|
org.apache.logging.log4j.core.util |
Log4j 2 helper classes.
|
Modifier and Type | Class and Description |
---|---|
class |
CachedClock
Implementation of the
Clock interface that tracks the time in a
private long field that is updated by a background thread once every
millisecond. |
class |
CoarseCachedClock
This Clock implementation is similar to CachedClock.
|
class |
SystemClock
Implementation of the
Clock interface that returns the system time. |
Modifier and Type | Method and Description |
---|---|
static Clock |
ClockFactory.getClock()
Returns a
Clock instance depending on the value of system
property ClockFactory.PROPERTY_NAME . |
Copyright © 1999-2021 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.