Uses of Interface
org.apache.logging.log4j.core.util.Clock
Packages that use Clock
Package
Description
Support classes for the Rolling File Appender.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Log4j 2 Filter support.
Log4j 2 private implementation classes.
Log4j 2 helper classes.
-
Uses of Clock in org.apache.logging.log4j.core.appender.rolling.action
Fields in org.apache.logging.log4j.core.appender.rolling.action declared as Clock -
Uses of Clock in org.apache.logging.log4j.core.async
Fields in org.apache.logging.log4j.core.async declared as ClockModifier and TypeFieldDescriptionprivate ClockRingBufferLogEventTranslator.clockprivate static final ClockAsyncLogger.CLOCKMethods in org.apache.logging.log4j.core.async with parameters of type ClockModifier and TypeMethodDescriptionprivate voidvoidRingBufferLogEventTranslator.setBasicValues(AsyncLogger anAsyncLogger, String aLoggerName, Marker aMarker, String theFqcn, Level aLevel, Message msg, Throwable aThrowable, ThreadContext.ContextStack aContextStack, StackTraceElement aLocation, Clock aClock, NanoClock aNanoClock) voidRingBufferLogEvent.setValues(AsyncLogger anAsyncLogger, String aLoggerName, Marker aMarker, String theFqcn, Level aLevel, Message msg, Throwable aThrowable, StringMap mutableContextData, ThreadContext.ContextStack aContextStack, long threadId, String threadName, int threadPriority, StackTraceElement aLocation, Clock clock, NanoClock nanoClock) -
Uses of Clock in org.apache.logging.log4j.core.filter
Fields in org.apache.logging.log4j.core.filter declared as Clock -
Uses of Clock in org.apache.logging.log4j.core.impl
Fields in org.apache.logging.log4j.core.impl declared as ClockModifier and TypeFieldDescriptionprivate static final ClockLog4jLogEvent.CLOCKprivate static final ClockReusableLogEventFactory.CLOCKMethods in org.apache.logging.log4j.core.impl with parameters of type ClockModifier and TypeMethodDescription(package private) voidConstructors in org.apache.logging.log4j.core.impl with parameters of type ClockModifierConstructorDescriptionprivateLog4jLogEvent(String loggerName, Marker marker, String loggerFQCN, Level level, Message message, Throwable thrown, ThrowableProxy thrownProxy, StringMap contextData, ThreadContext.ContextStack contextStack, long threadId, String threadName, int threadPriority, StackTraceElement source, Clock clock, long nanoTime) -
Uses of Clock in org.apache.logging.log4j.core.time
Subinterfaces of Clock in org.apache.logging.log4j.core.timeModifier and TypeInterfaceDescriptioninterfaceExtension 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 -
Uses of Clock in org.apache.logging.log4j.core.time.internal
Classes in org.apache.logging.log4j.core.time.internal that implement ClockModifier and TypeClassDescriptionclassImplementation 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 ClockModifier and TypeClassDescriptionfinal classImplementation of theClockinterface that tracks the time in a private long field that is updated by a background thread once every millisecond.final classThis Clock implementation is similar to CachedClock.final classImplementation of theClockinterface that returns the system time.final classImplementation of theClockinterface that returns the system time in millisecond granularity.Methods in org.apache.logging.log4j.core.util that return ClockModifier and TypeMethodDescriptionprivate static ClockClockFactory.createClock()static ClockClockFactory.getClock()Returns aClockinstance depending on the value of system propertyClockFactory.PROPERTY_NAME.private static ClockClockFactory.logSupportedPrecision(Clock clock) Methods in org.apache.logging.log4j.core.util that return types with arguments of type ClockMethods in org.apache.logging.log4j.core.util with parameters of type ClockModifier and TypeMethodDescriptionprivate static ClockClockFactory.logSupportedPrecision(Clock clock)