Uses of Class
com.lmax.disruptor.RingBuffer
-
Packages that use RingBuffer 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 RingBuffer in com.lmax.disruptor
Methods in com.lmax.disruptor that return RingBuffer 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.Constructors in com.lmax.disruptor with parameters of type RingBuffer Constructor Description NoOpEventProcessor(RingBuffer<?> sequencer)Construct aEventProcessorthat simply tracks aSequenceobject. -
Uses of RingBuffer in com.lmax.disruptor.dsl
Methods in com.lmax.disruptor.dsl that return RingBuffer Modifier and Type Method Description RingBuffer<T>Disruptor. getRingBuffer()TheRingBufferused by this Disruptor.RingBuffer<T>Disruptor. start()Starts the event processors and returns the fully configured ring buffer.Methods in com.lmax.disruptor.dsl with parameters of type RingBuffer Modifier and Type Method Description EventProcessorEventProcessorFactory. createEventProcessor(RingBuffer<T> ringBuffer, Sequence[] barrierSequences)Create a new event processor that gates onbarrierSequences.
-