Package-level declarations
Types
First-In-First-Out (FIFO) queue policy. Entities are dequeued in the order they were enqueued.
Priority queue policy. Entities are dequeued according to a priority order defined by the comparator. Lower priority entities (earlier in the comparator order) are dequeued first.
Policy for managing queue behavior. Determines how entities are stored and retrieved from a queue. Implementations can provide different ordering strategies (FIFO, priority, random, etc.).
Random queue policy. Entities are dequeued randomly from the queue.
Token queue policy. Manages a pool of abstract tokens used for flow control. Rather than storing actual entities, tracks token availability. Does not support residence time tracking since tokens are not individual entities.