garydgregory commented on code in PR #824:
URL: https://github.com/apache/logging-log4j2/pull/824#discussion_r852900544


##########
log4j-core/src/main/java/org/apache/logging/log4j/core/async/AsyncLoggerDisruptor.java:
##########
@@ -51,14 +53,17 @@ class AsyncLoggerDisruptor extends AbstractLifeCycle {
 
     private volatile Disruptor<RingBufferLogEvent> disruptor;
     private String contextName;
+    private final Supplier<AsyncWaitStrategyFactory> 
waitStrategyFactorySupplier;
 
     private boolean useThreadLocalTranslator = true;
     private long backgroundThreadId;
     private AsyncQueueFullPolicy asyncQueueFullPolicy;
     private int ringBufferSize;
+    WaitStrategy waitStrategy; // package-protected for testing

Review Comment:
   How about a package private getter instead?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to