Uses of Interface
org.apache.logging.log4j.core.util.NanoClock
Package
Description
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Configuration of Log4j 2.
Log4j 2 private implementation classes.
Log4j 2 helper classes.
-
Uses of NanoClock in org.apache.logging.log4j.core.async
Modifier and TypeMethodDescriptionvoid
RingBufferLogEventTranslator.setBasicValues
(AsyncLogger anAsyncLogger, String aLoggerName, Marker aMarker, String theFqcn, Level aLevel, Message msg, Throwable aThrowable, ThreadContext.ContextStack aContextStack, StackTraceElement aLocation, Clock aClock, NanoClock aNanoClock) void
RingBufferLogEvent.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 NanoClock in org.apache.logging.log4j.core.config
Modifier and TypeMethodDescriptionAbstractConfiguration.getNanoClock()
Configuration.getNanoClock()
Returns theNanoClock
instance for this configuration.Modifier and TypeMethodDescriptionvoid
AbstractConfiguration.setNanoClock
(NanoClock nanoClock) void
Configuration.setNanoClock
(NanoClock nanoClock) Sets theNanoClock
instance for this configuration. -
Uses of NanoClock in org.apache.logging.log4j.core.impl
Modifier and TypeMethodDescriptionstatic NanoClock
Log4jLogEvent.getNanoClock()
Returns theNanoClock
to use for creating the nanoTime timestamp of log events.Modifier and TypeMethodDescriptionstatic void
Log4jLogEvent.setNanoClock
(NanoClock nanoClock) Sets theNanoClock
to use for creating the nanoTime timestamp of log events. -
Uses of NanoClock in org.apache.logging.log4j.core.util
Modifier and TypeClassDescriptionfinal class
Implementation of theNanoClock
interface that always returns a fixed value.final class
Implementation of theNanoClock
interface that returns the system nano time.