Uses of Interface
org.apache.logging.log4j.core.async.AsyncQueueFullPolicy
Package
Description
Provides Asynchronous Logger classes and interfaces for low-latency logging.
-
Uses of AsyncQueueFullPolicy in org.apache.logging.log4j.core.async
Modifier and TypeClassDescriptionclass
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).class
Discarding router extends the DefaultAsyncQueueFullPolicy by first verifying if the queue is fuller than the specified threshold ratio; if this is the case, log events more specific than the specified threshold level are dropped.Modifier and TypeMethodDescriptionstatic AsyncQueueFullPolicy
AsyncQueueFullPolicyFactory.create()
Creates and returnsAsyncQueueFullPolicy
instances based on user-specified system properties.Modifier and TypeMethodDescriptionstatic long
DiscardingAsyncQueueFullPolicy.getDiscardCount
(AsyncQueueFullPolicy router)