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

@param  queue   The queue to provide 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.