Uses of Class
org.jgroups.util.QueueClosedException

Packages that use QueueClosedException
Package
Description
Provides useful functionality which cannot be assigned to any particular other package.
  • Uses of QueueClosedException in org.jgroups.util

    Modifier and Type
    Method
    Description
    void
    Queue.add(Object obj)
    adds an object to the tail of this queue If the queue has been closed with close(true) no exception will be thrown if the queue has not been flushed yet.
    void
    Queue.addAll(Collection c)
     
    void
    Queue.addAll(List<Object> list)
     
    void
    Queue.addAtHead(Object obj)
    Adds a new object to the head of the queue basically (obj.equals(queue.remove(queue.add(obj)))) returns true If the queue has been closed with close(true) no exception will be thrown if the queue has not been flushed yet.
    Queue.peek()
    returns the first object on the queue, without removing it.
    Queue.peek(long timeout)
    returns the first object on the queue, without removing it.
    Queue.remove()
    Removes 1 element from head or blocks until next element has been added or until queue has been closed
    Queue.remove(long timeout)
    Removes 1 element from the head.
    void
    Queue.removeElement(Object obj)
    removes a specific object from the queue.