Uses of Interface
org.apache.logging.log4j.core.util.NanoClock
Packages that use 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
Methods in org.apache.logging.log4j.core.async with parameters of type NanoClockModifier and TypeMethodDescriptionvoidRingBufferLogEventTranslator.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 NanoClock in org.apache.logging.log4j.core.config
Methods in org.apache.logging.log4j.core.config that return NanoClockModifier and TypeMethodDescriptionAbstractConfiguration.getNanoClock()Configuration.getNanoClock()Returns theNanoClockinstance for this configuration.Methods in org.apache.logging.log4j.core.config with parameters of type NanoClockModifier and TypeMethodDescriptionvoidAbstractConfiguration.setNanoClock(NanoClock nanoClock) voidConfiguration.setNanoClock(NanoClock nanoClock) Sets theNanoClockinstance for this configuration. -
Uses of NanoClock in org.apache.logging.log4j.core.impl
Methods in org.apache.logging.log4j.core.impl that return NanoClockModifier and TypeMethodDescriptionstatic NanoClockLog4jLogEvent.getNanoClock()Returns theNanoClockto use for creating the nanoTime timestamp of log events.Methods in org.apache.logging.log4j.core.impl with parameters of type NanoClockModifier and TypeMethodDescriptionstatic voidLog4jLogEvent.setNanoClock(NanoClock nanoClock) Sets theNanoClockto use for creating the nanoTime timestamp of log events. -
Uses of NanoClock in org.apache.logging.log4j.core.util
Classes in org.apache.logging.log4j.core.util that implement NanoClockModifier and TypeClassDescriptionfinal classImplementation of theNanoClockinterface that always returns a fixed value.final classImplementation of theNanoClockinterface that returns the system nano time.