Uses of Interface
org.apache.logging.log4j.core.util.Clock
-
Packages that use Clock Package Description org.apache.logging.log4j.core.async Provides Asynchronous Logger classes and interfaces for low-latency logging.org.apache.logging.log4j.core.time org.apache.logging.log4j.core.time.internal org.apache.logging.log4j.core.util Log4j 2 helper classes. -
-
Uses of Clock in org.apache.logging.log4j.core.async
Methods in org.apache.logging.log4j.core.async with parameters of type Clock Modifier and Type Method Description voidRingBufferLogEventTranslator. setBasicValues(AsyncLogger anAsyncLogger, java.lang.String aLoggerName, Marker aMarker, java.lang.String theFqcn, Level aLevel, Message msg, java.lang.Throwable aThrowable, ThreadContext.ContextStack aContextStack, java.lang.StackTraceElement aLocation, Clock aClock, NanoClock aNanoClock)voidRingBufferLogEvent. setValues(AsyncLogger anAsyncLogger, java.lang.String aLoggerName, Marker aMarker, java.lang.String theFqcn, Level aLevel, Message msg, java.lang.Throwable aThrowable, StringMap mutableContextData, ThreadContext.ContextStack aContextStack, long threadId, java.lang.String threadName, int threadPriority, java.lang.StackTraceElement aLocation, Clock clock, NanoClock nanoClock) -
Uses of Clock in org.apache.logging.log4j.core.time
Subinterfaces of Clock in org.apache.logging.log4j.core.time Modifier and Type Interface Description interfacePreciseClockExtension of theClockinterface that is able to provide more accurate time information than milliseconds since the epoch.Methods in org.apache.logging.log4j.core.time with parameters of type Clock Modifier and Type Method Description voidMutableInstant. initFrom(Clock clock) -
Uses of Clock in org.apache.logging.log4j.core.time.internal
Classes in org.apache.logging.log4j.core.time.internal that implement Clock Modifier and Type Class Description classFixedPreciseClockImplementation of thePreciseClockinterface that always returns a fixed time value. -
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 classCachedClockImplementation of theClockinterface that tracks the time in a private long field that is updated by a background thread once every millisecond.classCoarseCachedClockThis Clock implementation is similar to CachedClock.classSystemClockImplementation of theClockinterface that returns the system time.classSystemMillisClockImplementation of theClockinterface that returns the system time in millisecond granularity.Methods in org.apache.logging.log4j.core.util that return Clock Modifier and Type Method Description static ClockClockFactory. getClock()Returns aClockinstance depending on the value of system propertyClockFactory.PROPERTY_NAME.
-