base/common/src/main/com/thesett/common/util/queues/Queues.java
public static <E extends Sizeable> Queue<E> getAtomicCountedSizeableTransactionalReQueue(
        java.util.Queue<E> queue, Collection<E> requeue)
    {
        return new WrapperQueue<E>(queue, requeue, true, true, true);
    }
public static <E extends Sizeable> Queue<E> getAtomicCountedSizeableTransactionalReQueue(
        java.util.Queue<E> queue, Collection<E> requeue)
    {
        return new WrapperQueue<E>(queue, requeue, true, true, true);
    }
Wraps queue as a sizeable, atomically counted queue, transactional requeue, as per the {@link #getSizeableQueue},
{@link #getAtomicCountedQueue}, and {@link #getTransactionalReQueue} methods.

@param  queue   The queue to provide atomic counting, sizing and transactional operations on.
@param  requeue The requeue buffer implementation to use.
@param  <E>     The type of queue element.

@return An atomicically counted, sizeable queue.