Interface AsyncWaitStrategyFactory


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

    Modifier and Type
    Method
    Description
    com.lmax.disruptor.WaitStrategy
    Creates and returns a non-null implementation of the LMAX Disruptor's WaitStrategy interface.
  • Method Details

    • 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