Package | Description |
---|---|
net.dempsy.ringbuffer |
Modifier and Type | Field and Description |
---|---|
static RingBufferConsumerControl.ConsumerWaitStrategy |
RingBufferConsumerControl.spin
Using this strategy provides 'spin' approach to waiting for data to be available for the consumer.
|
protected RingBufferConsumerControl.ConsumerWaitStrategy |
RingBufferConsumerControl.waitStrategy |
static RingBufferConsumerControl.ConsumerWaitStrategy |
RingBufferConsumerControl.yield
Using this strategy provides 'yield' approach to waiting for data to be available for the consumer.
|
Constructor and Description |
---|
RingBufferConsumerControl(int sizePowerOfTwo,
RingBufferConsumerControl.ConsumerWaitStrategy waitStrategy,
com.lmax.disruptor.Sequence cursor) |
RingBufferConsumerControl(int sizePowerOfTwo,
RingBufferConsumerControl.ConsumerWaitStrategy waitStrategy,
com.lmax.disruptor.Sequence cursor,
com.lmax.disruptor.util.PaddedLong commonStop) |
RingBufferControl(int sizePowerOfTwo,
RingBufferConsumerControl.ConsumerWaitStrategy waitStrategy)
Creates a
RingBufferControl with the given wait strategy. |
RingBufferControlWorkerPool(int sizePowerOfTwo,
RingBufferConsumerControl.ConsumerWaitStrategy waitStrategy) |
Copyright © 2018. All rights reserved.