|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use WaitStrategy | |
|---|---|
| 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 | |
| Uses of WaitStrategy in com.lmax.disruptor |
|---|
| Classes in com.lmax.disruptor that implement WaitStrategy | |
|---|---|
class |
BlockingWaitStrategy
Blocking strategy that uses a lock and condition variable for EventProcessors waiting on a barrier. |
class |
BusySpinWaitStrategy
Busy Spin strategy that uses a busy spin loop for EventProcessors waiting on a barrier. |
class |
SleepingWaitStrategy
Sleeping strategy that initially spins, then uses a Thread.yield(), and eventually for the minimum number of nanos the OS and JVM will allow while the EventProcessors are waiting on a barrier. |
class |
YieldingWaitStrategy
Yielding strategy that uses a Thread.yield() for EventProcessors waiting on a barrier
after an initially spinning. |
| Constructors in com.lmax.disruptor with parameters of type WaitStrategy | |
|---|---|
RingBuffer(EventFactory<T> eventFactory,
ClaimStrategy claimStrategy,
WaitStrategy waitStrategy)
Construct a RingBuffer with the full option set. |
|
Sequencer(ClaimStrategy claimStrategy,
WaitStrategy waitStrategy)
Construct a Sequencer with the selected strategies. |
|
WorkerPool(EventFactory<T> eventFactory,
ClaimStrategy claimStrategy,
WaitStrategy waitStrategy,
ExceptionHandler exceptionHandler,
WorkHandler<T>... workHandlers)
Construct a work pool with an internal RingBuffer for convenience. |
|
| Uses of WaitStrategy in com.lmax.disruptor.dsl |
|---|
| Constructors in com.lmax.disruptor.dsl with parameters of type WaitStrategy | |
|---|---|
Disruptor(EventFactory<T> eventFactory,
java.util.concurrent.Executor executor,
ClaimStrategy claimStrategy,
WaitStrategy waitStrategy)
Create a new Disruptor. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||