Interface | Description |
---|---|
WaitStrategy<T> | |
WaitStrategy.Offerable | |
WaitStrategy.Takeable<T> |
Class | Description |
---|---|
DirectWaitStrategy<T> |
Will try to access the queue once, and return the result directly from the Queue
Effectively the same as calling queue.take() / queue.offer(T val)
|
ExponentialBackofWaitStrategy<T> | |
NoWaitRetry<T> |
Repeatedly retry to take or offer element to Queue if full or data unavailable
|
SpinWait<T> |
Repeatedly retry to take or offer element to Queue if full or data unavailable,
with a wait of 1 nano second between retries
|
YieldWait<T> |