if (trace) { log.trace(this + " added " + ref + " non-transactionally in memory"); }
if (messageRefs.size() == fullSize) {
   protected boolean addReferenceInMemory(MessageReference ref) throws Throwable   {      if (ref.isReliable() && !acceptReliableMessages)      {         throw new IllegalStateException("Reliable reference " + ref +                                         " cannot be added to non-recoverable state");      }      boolean first = messageRefs.addLast(ref, ref.getPriority());      if (trace) { log.trace(this + " added " + ref + " non-transactionally in memory"); }      if (messageRefs.size() == fullSize)      {                     // We are full in memory - go into paging mode         if (trace) { log.trace(this + " going into paging mode"); }         paging = true;      }                  return first;       }