Uses of Interface
org.apache.logging.log4j.core.util.NanoClock
-
Packages that use NanoClock Package Description org.apache.logging.log4j.core.async Provides Asynchronous Logger classes and interfaces for low-latency logging.org.apache.logging.log4j.core.config Configuration of Log4j 2.org.apache.logging.log4j.core.impl Log4j 2 private implementation classes.org.apache.logging.log4j.core.util 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 NanoClock Modifier and Type Method Description void
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
Methods in org.apache.logging.log4j.core.config that return NanoClock Modifier and Type Method Description NanoClock
AbstractConfiguration. getNanoClock()
NanoClock
Configuration. getNanoClock()
Returns theNanoClock
instance for this configuration.Methods in org.apache.logging.log4j.core.config with parameters of type NanoClock Modifier and Type Method Description void
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
Methods in org.apache.logging.log4j.core.impl that return NanoClock Modifier and Type Method Description static NanoClock
Log4jLogEvent. getNanoClock()
Returns theNanoClock
to use for creating the nanoTime timestamp of log events.Methods in org.apache.logging.log4j.core.impl with parameters of type NanoClock Modifier and Type Method Description static 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
Classes in org.apache.logging.log4j.core.util that implement NanoClock Modifier and Type Class Description class
DummyNanoClock
Implementation of theNanoClock
interface that always returns a fixed value.class
SystemNanoClock
Implementation of theNanoClock
interface that returns the system nano time.
-