Uses of Interface
org.apache.logging.log4j.core.util.Clock
-
Packages that use Clock Package Description org.apache.logging.log4j.core.util Log4j 2 helper classes. -
-
Uses of Clock in org.apache.logging.log4j.core.util
Classes in org.apache.logging.log4j.core.util that implement Clock Modifier and Type Class Description class
CachedClock
Implementation of theClock
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 theClock
interface that returns the system time.Methods in org.apache.logging.log4j.core.util that return Clock Modifier and Type Method Description static Clock
ClockFactory. getClock()
Returns aClock
instance depending on the value of system propertyClockFactory.PROPERTY_NAME
.
-