Class DisruptorConfig

java.lang.Object
com.helix.core.stream.disruptor.DisruptorConfig

public class DisruptorConfig extends Object
Configuration options for the LMAX Disruptor streaming engine.
  • Field Details

    • DEFAULT_RING_BUFFER_SIZE

      public static final int DEFAULT_RING_BUFFER_SIZE
      See Also:
  • Constructor Details

    • DisruptorConfig

      public DisruptorConfig(int ringBufferSize, com.lmax.disruptor.WaitStrategy waitStrategy, com.lmax.disruptor.dsl.ProducerType producerType, ThreadFactory threadFactory)
  • Method Details

    • defaultConfig

      public static DisruptorConfig defaultConfig()
    • builder

      public static DisruptorConfig.Builder builder()
    • getRingBufferSize

      public int getRingBufferSize()
    • getWaitStrategy

      public com.lmax.disruptor.WaitStrategy getWaitStrategy()
    • getProducerType

      public com.lmax.disruptor.dsl.ProducerType getProducerType()
    • getThreadFactory

      public ThreadFactory getThreadFactory()