Uses of Package
org.apache.logging.log4j.core.async
Packages that use org.apache.logging.log4j.core.async
Package
Description
Log4j 2 Appenders.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Configuration of Log4j 2.
Log4j 2 private implementation classes.
-
Classes in org.apache.logging.log4j.core.async used by org.apache.logging.log4j.core.appenderClassDescriptionPolicy for deciding whether to discard the event, enqueue it or log the event on the current thread when the queue is full.Factory for creating instances of
BlockingQueue
. -
Classes in org.apache.logging.log4j.core.async used by org.apache.logging.log4j.core.asyncClassDescriptionDefault disruptor exception handler for errors that occur in the AsyncLogger background thread.Factory for creating instances of
ArrayBlockingQueue
.AsyncLogger is a logger designed for high throughput and low latency logging.Asynchronous Logger object that is created via configuration and can be combined with synchronous loggers.Encapsulates the mechanism used to log asynchronously.RingBuffer events contain all information necessary to perform the work in a separate thread.LoggerContext
that createsAsyncLogger
objects.Helper class for async loggers: AsyncLoggerDisruptor handles the mechanics of working with the LMAX Disruptor, and works with its associated AsyncLoggerContext to synchronize the life cycle of the Disruptor and its thread with the life cycle of the context.Policy for deciding whether to discard the event, enqueue it or log the event on the current thread when the queue is full.This interface allows users to configure a custom Disruptor WaitStrategy used for Async Loggers and Async LoggerConfigs.This class allows users to configure the factory used to create an instance of the LMAX disruptor WaitStrategy used by Async Loggers in the log4j configuration.Builds AsyncWaitStrategyFactoryConfig instances.Factory for creating instances ofBlockingQueue
.Default router: enqueue the event for asynchronous logging in the background thread, unless the current thread is the background thread and the queue is full (enqueueing would cause a deadlock).Enumeration over the different destinations where a log event can be sent.Factory for creating instances of BlockingQueues backed by JCToolsMpscArrayQueue
.Factory for creating instances ofLinkedTransferQueue
.When the Disruptor is started, the RingBuffer is populated with event objects.Creates the events that will be put in the RingBuffer.This class is responsible for writing elements that make up a log event into the ringbufferRingBufferLogEvent
.Strategy for deciding whether thread name should be cached or not. -
Classes in org.apache.logging.log4j.core.async used by org.apache.logging.log4j.core.configClassDescriptionEncapsulates the mechanism used to log asynchronously.Helper class decoupling the
AsyncLoggerConfig
class from the LMAX Disruptor library.This interface allows users to configure a custom Disruptor WaitStrategy used for Async Loggers and Async LoggerConfigs. -
Classes in org.apache.logging.log4j.core.async used by org.apache.logging.log4j.core.implClassDescriptionStrategy for deciding whether thread name should be cached or not.