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
Subclasses with type arguments of type ProducerType in com.lmax.disruptor.dslModifier and TypeClassDescriptionenumDefines producer types to support creation of RingBuffer with correct sequencer and publisher.Methods in com.lmax.disruptor.dsl that return ProducerTypeModifier and TypeMethodDescriptionstatic ProducerTypeReturns 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.
ThreadFactoryinstead of anExecutoras a the ThreadFactory is able to report errors when it is unable to construct a thread to run a producer.