Uses of Interface
org.apache.logging.log4j.core.async.AsyncQueueFullPolicy
Packages that use AsyncQueueFullPolicy
Package
Description
Log4j 2 Appenders.
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 -
Uses of AsyncQueueFullPolicy in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement AsyncQueueFullPolicyModifier and TypeClassDescriptionclassDefault 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).classDiscarding 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 AsyncQueueFullPolicyModifier and TypeFieldDescriptionprivate AsyncQueueFullPolicyAsyncLoggerConfigDisruptor.asyncQueueFullPolicyprivate AsyncQueueFullPolicyAsyncLoggerDisruptor.asyncQueueFullPolicyMethods in org.apache.logging.log4j.core.async that return AsyncQueueFullPolicyModifier and TypeMethodDescriptionstatic AsyncQueueFullPolicyAsyncQueueFullPolicyFactory.create()Creates and returnsAsyncQueueFullPolicyinstances based on user-specified system properties.private static AsyncQueueFullPolicyAsyncQueueFullPolicyFactory.createCustomRouter(String router) private static AsyncQueueFullPolicyAsyncQueueFullPolicyFactory.createDiscardingAsyncQueueFullPolicy()Methods in org.apache.logging.log4j.core.async with parameters of type AsyncQueueFullPolicyModifier and TypeMethodDescriptionstatic longDiscardingAsyncQueueFullPolicy.getDiscardCount(AsyncQueueFullPolicy router) Method parameters in org.apache.logging.log4j.core.async with type arguments of type AsyncQueueFullPolicyModifier and TypeMethodDescriptionprivate static booleanAsyncQueueFullPolicyFactory.isRouterSelected(String propertyValue, Class<? extends AsyncQueueFullPolicy> policy, String shortPropertyValue)