Github user franz1981 commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1505
  
    @clebertsuconic Agree, but I wanted to start first with something smaller 
in order to add features when (if) it proves to be stable enough.
    
    Currently I've provided only a fast (a-la ArrayDeque) internal iterator (ie 
forEach): an external Iterator is for sure feasible to be implemented using the 
same algorithm.
    What I've to think better is how implement Iterator::remove and 
Iterator::repeat operations: I don't know if they can be replaced by something 
more sympathic with the mechanics of this queue, maybe simplifying the 
QueueImpl code too.
    
    If it shoudn't be possible I'll try to implement the original semantic of 
LinkedListImpl's Iterator on ChunkedQueue too, but I really don't know how much 
time will be needed.


---

Reply via email to