Uses of Class
org.apache.logging.log4j.core.async.RingBufferLogEvent
Packages that use RingBufferLogEvent
Package
Description
Provides Asynchronous Logger classes and interfaces for low-latency logging.
-
Uses of RingBufferLogEvent in org.apache.logging.log4j.core.async
Subclasses with type arguments of type RingBufferLogEvent in org.apache.logging.log4j.core.asyncModifier and TypeClassDescriptionclassDefault disruptor exception handler for errors that occur in the AsyncLogger background thread.Classes in org.apache.logging.log4j.core.async that implement interfaces with type arguments of type RingBufferLogEventModifier and TypeClassDescriptionclassAsyncLogger is a logger designed for high throughput and low latency logging.private static classCreates the events that will be put in the RingBuffer.classThis event handler gets passed messages from the RingBuffer as they become available.classThis class is responsible for writing elements that make up a log event into the ringbufferRingBufferLogEvent.Fields in org.apache.logging.log4j.core.async with type parameters of type RingBufferLogEventModifier and TypeFieldDescriptionprivate com.lmax.disruptor.dsl.Disruptor<RingBufferLogEvent> AsyncLoggerDisruptor.disruptorMethods in org.apache.logging.log4j.core.async that return RingBufferLogEventMethods in org.apache.logging.log4j.core.async that return types with arguments of type RingBufferLogEventModifier and TypeMethodDescription(package private) static com.lmax.disruptor.ExceptionHandler<RingBufferLogEvent> DisruptorUtil.getAsyncLoggerExceptionHandler()(package private) com.lmax.disruptor.dsl.Disruptor<RingBufferLogEvent> AsyncLoggerDisruptor.getDisruptor()Methods in org.apache.logging.log4j.core.async with parameters of type RingBufferLogEventModifier and TypeMethodDescriptionvoidAsyncLogger.actualAsyncLog(RingBufferLogEvent event) This method is called by the EventHandler that processes the RingBufferLogEvent in a separate thread.private static StringMapAsyncLogger.getContextData(RingBufferLogEvent event) voidRingBufferLogEventHandler.onEvent(RingBufferLogEvent event, long sequence, boolean endOfBatch) private voidAsyncLogger.onPropertiesPresent(RingBufferLogEvent event, List<Property> properties) voidAsyncLogger.translateTo(RingBufferLogEvent event, long sequence, Object... args) voidRingBufferLogEventTranslator.translateTo(RingBufferLogEvent event, long sequence) Method parameters in org.apache.logging.log4j.core.async with type arguments of type RingBufferLogEventModifier and TypeMethodDescription(package private) voidAsyncLoggerDisruptor.enqueueLogMessageWhenQueueFull(com.lmax.disruptor.EventTranslatorVararg<RingBufferLogEvent> translator, AsyncLogger asyncLogger, StackTraceElement location, String fqcn, Level level, Marker marker, Message msg, Throwable thrown) private booleanAsyncLoggerDisruptor.hasLog4jBeenShutDown(com.lmax.disruptor.dsl.Disruptor<RingBufferLogEvent> aDisruptor) Returnstrueif the specified disruptor is null.