Uses of Enum
com.lmax.disruptor.dsl.ProducerType
Packages that use ProducerType
Package
Description
The Disruptor is a concurrent programming framework for exchanging and coordinating work as a continuous series of events.
-
Uses of ProducerType in com.lmax.disruptor
Methods in com.lmax.disruptor with parameters of type ProducerTypeModifier and TypeMethodDescriptionstatic <E> RingBuffer
<E> RingBuffer.create
(ProducerType producerType, EventFactory<E> factory, int bufferSize, WaitStrategy waitStrategy) Create a new Ring Buffer with the specified producer type (SINGLE or MULTI) -
Uses of ProducerType in com.lmax.disruptor.dsl
Methods in com.lmax.disruptor.dsl that return ProducerTypeModifier and TypeMethodDescriptionstatic ProducerType
Returns the enum constant of this type with the specified name.static ProducerType[]
ProducerType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Constructors in com.lmax.disruptor.dsl with parameters of type ProducerTypeModifierConstructorDescriptionDisruptor
(EventFactory<T> eventFactory, int ringBufferSize, Executor executor, ProducerType producerType, WaitStrategy waitStrategy) Deprecated.Disruptor
(EventFactory<T> eventFactory, int ringBufferSize, ThreadFactory threadFactory, ProducerType producerType, WaitStrategy waitStrategy) Create a new Disruptor.
ThreadFactory
instead of anExecutor
as a the ThreadFactory is able to report errors when it is unable to construct a thread to run a producer.