docs: public synchronized List getAllMessagesOnStream()
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(this, tc, "getAllMessagesOnStream");
        
      List<Long> msgs = new LinkedList<Long>();
      oststream.setCursor(0);
      // Get the first TickRange
      TickRange tr = oststream.getNext();
      while (tr.endstamp < RangeList.INFINITY)
      {
        if (tr.type == TickRange.Value)
        {
          msgs.add(Long.valueOf(tr.itemStreamIndex));
        }
        if (tr.type == TickRange.Uncommitted)
        {
          // Reallocator needs to be run again when this commits
          tr.reallocateOnCommit();
        }
        tr = oststream.getNext();
      } // end while
      
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "getAllMessagesOnStream");
  
      return Collections.unmodifiableList(msgs);
    }