Behavior of a queue when an item is added while the queue is full.
Declared in <folly/executors/task_queue/BlockingQueue.h>
enum class QueueBehaviorIfFull : int;
Some queue implementations (for example, LifoSemMPMCQueue or PriorityLifoSemMPMCQueue) support both blocking (BLOCK) and non-blocking (THROW) behaviors.
| Name | Description |
|---|---|
THROW | Throw QueueFullException instead of blocking. |
BLOCK | Block the caller until space is available. |