程序包 | 说明 |
---|---|
com.fr.third.jgroups.util |
Provides useful functionality which cannot be assigned to any particular other package.
|
限定符和类型 | 方法和说明 |
---|---|
void |
Queue.add(java.lang.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(java.util.Collection c) |
void |
Queue.addAll(java.util.List<java.lang.Object> list) |
java.lang.Object |
Queue.peek()
returns the first object on the queue, without removing it.
|
java.lang.Object |
Queue.peek(long timeout)
returns the first object on the queue, without removing it.
|
java.lang.Object |
Queue.remove()
Removes 1 element from head or blocks
until next element has been added or until queue has been closed
|
java.lang.Object |
Queue.remove(long timeout)
Removes 1 element from the head.
|
void |
Queue.removeElement(java.lang.Object obj)
removes a specific object from the queue.
|
java.lang.Object |
Queue.removeWait(long timeout) |