base/common/src/main/com/thesett/common/util/queues/WrapperQueue.java
public boolean offer(E o)
    {
        if (transactional)
        {
            // Delegate the offer operation to the wrapped queue.
            txMethod.requestWriteOperation(new EnqueueRecord(o));

            // return success;
            return true;
        }
        else
        {
            boolean success = queue.offer(o);

            // Update the queue size if the offer was succesfull.
            if (success)
            {
                incrementSizeAndCount(o);
            }

            return success;
        }
    }
public boolean offer(E o)
    {
        if (transactional)
        {
            // Delegate the offer operation to the wrapped queue.
            txMethod.requestWriteOperation(new EnqueueRecord(o));

            // return success;
            return true;
        }
        else
        {
            boolean success = queue.offer(o);

            // Update the queue size if the offer was succesfull.
            if (success)
            {
                incrementSizeAndCount(o);
            }

            return success;
        }
    }
public boolean offer ( E o ) { if ( transactional ) { // Delegate the offer operation to the wrapped queue. txMethod . requestWriteOperation ( new EnqueueRecord ( o ) ) ; // return success; return true ; } else { boolean success = queue . offer ( o ) ; // Update the queue size if the offer was succesfull. if ( success ) { incrementSizeAndCount ( o ) ; } return success ; } }
{@inheritDoc}
{