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.
A DSL-style API for setting up the disruptor pattern around a ring buffer.
-
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 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, ThreadFactory threadFactory, ProducerType producerType, WaitStrategy waitStrategy) Create a new Disruptor.