if (!singleConsumer)
throw new UnsupportedOperationException("Primitive queue with multiple consumers is unsupported");
final BasicSingleConsumerIntQueue queue;
if (mailboxSize < 0) {
queue = new SingleConsumerLinkedArrayIntQueue();
} else if (policy == OverflowPolicy.DISPLACE) {
queue = new CircularIntBuffer(mailboxSize, singleProducer);
} else
queue = new SingleConsumerArrayIntQueue(mailboxSize);