Uses of Interface
org.apache.logging.log4j.core.async.AsyncQueueFullPolicy
-
Packages that use AsyncQueueFullPolicy Package Description org.apache.logging.log4j.core.appender Log4j 2 Appenders.org.apache.logging.log4j.core.async Provides Asynchronous Logger classes and interfaces for low-latency logging. -
-
Uses of AsyncQueueFullPolicy in org.apache.logging.log4j.core.appender
Fields in org.apache.logging.log4j.core.appender declared as AsyncQueueFullPolicy Modifier and Type Field Description private AsyncQueueFullPolicy
AsyncAppender. asyncQueueFullPolicy
-
Uses of AsyncQueueFullPolicy in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement AsyncQueueFullPolicy Modifier and Type Class Description class
DefaultAsyncQueueFullPolicy
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
DiscardingAsyncQueueFullPolicy
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.Fields in org.apache.logging.log4j.core.async declared as AsyncQueueFullPolicy Modifier and Type Field Description private AsyncQueueFullPolicy
AsyncLoggerConfigDisruptor. asyncQueueFullPolicy
private AsyncQueueFullPolicy
AsyncLoggerDisruptor. asyncQueueFullPolicy
Methods in org.apache.logging.log4j.core.async that return AsyncQueueFullPolicy Modifier and Type Method Description static AsyncQueueFullPolicy
AsyncQueueFullPolicyFactory. create()
Creates and returnsAsyncQueueFullPolicy
instances based on user-specified system properties.private static AsyncQueueFullPolicy
AsyncQueueFullPolicyFactory. createCustomRouter(java.lang.String router)
private static AsyncQueueFullPolicy
AsyncQueueFullPolicyFactory. createDiscardingAsyncQueueFullPolicy()
Methods in org.apache.logging.log4j.core.async with parameters of type AsyncQueueFullPolicy Modifier and Type Method Description static long
DiscardingAsyncQueueFullPolicy. getDiscardCount(AsyncQueueFullPolicy router)
Method parameters in org.apache.logging.log4j.core.async with type arguments of type AsyncQueueFullPolicy Modifier and Type Method Description private static boolean
AsyncQueueFullPolicyFactory. isRouterSelected(java.lang.String propertyValue, java.lang.Class<? extends AsyncQueueFullPolicy> policy, java.lang.String shortPropertyValue)
-