Package com.helix.core.stream.disruptor
Class DisruptorConfig
java.lang.Object
com.helix.core.stream.disruptor.DisruptorConfig
Configuration options for the LMAX Disruptor streaming engine.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDisruptorConfig(int ringBufferSize, com.lmax.disruptor.WaitStrategy waitStrategy, com.lmax.disruptor.dsl.ProducerType producerType, ThreadFactory threadFactory) -
Method Summary
Modifier and TypeMethodDescriptionstatic DisruptorConfig.Builderbuilder()static DisruptorConfigcom.lmax.disruptor.dsl.ProducerTypeintcom.lmax.disruptor.WaitStrategy
-
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
-
builder
-
getRingBufferSize
public int getRingBufferSize() -
getWaitStrategy
public com.lmax.disruptor.WaitStrategy getWaitStrategy() -
getProducerType
public com.lmax.disruptor.dsl.ProducerType getProducerType() -
getThreadFactory
-