base/common/src/main/com/thesett/common/util/queues/WrapperQueue.java
public void accept(Object owner, Object o)
    {
        // Look up the element wrapper record for the element to be accepted.
        RequeueElementWrapper<E> record = requeuedElementMap.get(o);

        if (record != null)
        {
            // If running in a transaction, create an accept operation to accept the item only upon commit of the
            // transaction.
            if (transactional)
            {
                record.state = AcquireState.Accepted;
                txMethod.requestWriteOperation(new AcceptRecord(record));
            }
            else
            {
                requeuedElementMap.remove(o);
                requeue.remove(record);
            }
        }
    }
public void accept(Object owner, Object o)
    {
        // Look up the element wrapper record for the element to be accepted.
        RequeueElementWrapper<E> record = requeuedElementMap.get(o);

        if (record != null)
        {
            // If running in a transaction, create an accept operation to accept the item only upon commit of the
            // transaction.
            if (transactional)
            {
                record.state = AcquireState.Accepted;
                txMethod.requestWriteOperation(new AcceptRecord(record));
            }
            else
            {
                requeuedElementMap.remove(o);
                requeue.remove(record);
            }
        }
    }
{@inheritDoc}