Uses of Interface
com.lmax.disruptor.EventFactory
-
Packages that use EventFactory Package Description com.lmax.disruptor The Disruptor is a concurrent programming framework for exchanging and coordinating work as a continuous series of events.com.lmax.disruptor.dsl A DSL-style API for setting up the disruptor pattern around a ring buffer. -
-
Uses of EventFactory in com.lmax.disruptor
Methods in com.lmax.disruptor with parameters of type EventFactory Modifier and Type Method Description static <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)static <E> RingBuffer<E>
RingBuffer. createMultiProducer(EventFactory<E> factory, int bufferSize)
Create a new multiple producer RingBuffer using the default wait strategyBlockingWaitStrategy
.static <E> RingBuffer<E>
RingBuffer. createMultiProducer(EventFactory<E> factory, int bufferSize, WaitStrategy waitStrategy)
Create a new multiple producer RingBuffer with the specified wait strategy.static <E> RingBuffer<E>
RingBuffer. createSingleProducer(EventFactory<E> factory, int bufferSize)
Create a new single producer RingBuffer using the default wait strategyBlockingWaitStrategy
.static <E> RingBuffer<E>
RingBuffer. createSingleProducer(EventFactory<E> factory, int bufferSize, WaitStrategy waitStrategy)
Create a new single producer RingBuffer with the specified wait strategy. -
Uses of EventFactory in com.lmax.disruptor.dsl
Constructors in com.lmax.disruptor.dsl with parameters of type EventFactory Constructor Description Disruptor(EventFactory<T> eventFactory, int ringBufferSize, java.util.concurrent.ThreadFactory threadFactory)
Create a new Disruptor.Disruptor(EventFactory<T> eventFactory, int ringBufferSize, java.util.concurrent.ThreadFactory threadFactory, ProducerType producerType, WaitStrategy waitStrategy)
Create a new Disruptor.
-