Class RawMessageQueue

    • Constructor Summary

      Constructors 
      Constructor Description
      RawMessageQueue​(int size)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(RawMessage msg)
      Adds element to the tail of the queue.
      void dispose()  
      boolean isEmpty()  
      boolean isFull()  
      RawMessage peek()
      Retrieves, but does not remove, the head of this queue, or returns null if this queue is empty.
      RawMessage peekLast()
      Retrieves, but does not remove, the tail of this queue, or returns null if this queue is empty.
      void release​(RawMessage msg)  
      RawMessage remove()
      Retrieves and removes the head of this queue, or returns null if this queue is empty.
      int size()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait