Interface AsyncWaitStrategyFactory
-
- All Known Implementing Classes:
DefaultAsyncWaitStrategyFactory
public interface AsyncWaitStrategyFactory
This interface allows users to configure a custom Disruptor WaitStrategy used for Async Loggers and Async LoggerConfigs.- Since:
- 2.17.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.lmax.disruptor.WaitStrategy
createWaitStrategy()
Creates and returns a non-null implementation of the LMAX Disruptor's WaitStrategy interface.
-
-
-
Method Detail
-
createWaitStrategy
com.lmax.disruptor.WaitStrategy createWaitStrategy()
Creates and returns a non-null implementation of the LMAX Disruptor's WaitStrategy interface. This WaitStrategy will be used by Log4j Async Loggers and Async LoggerConfigs.- Returns:
- the WaitStrategy instance to be used by Async Loggers and Async LoggerConfigs
-
-