Package | Description |
---|---|
org.jgroups.util |
Provides useful functionality which cannot be assigned to any particular other package.
|
Modifier and Type | Method and Description |
---|---|
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 |
LinkedListQueue.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 |
Queue2.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(List l) |
void |
Queue.addAtHead(java.lang.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.
|
void |
LinkedListQueue.addAtHead(java.lang.Object obj)
Adds a new object to the head of the queue
basically (obj.equals(LinkedListQueue.remove(LinkedListQueue.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.
|
void |
Queue2.addAtHead(java.lang.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.
|
java.lang.Object |
Queue.peek()
returns the first object on the queue, without removing it.
|
java.lang.Object |
LinkedListQueue.peek()
returns the first object on the queue, without removing it.
|
java.lang.Object |
Queue2.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 |
LinkedListQueue.peek(long timeout)
returns the first object on the queue, without removing it.
|
java.lang.Object |
Queue2.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 |
LinkedListQueue.remove()
Removes 1 element from head or blocks
until next element has been added
|
java.lang.Object |
Queue2.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.
|
java.lang.Object |
LinkedListQueue.remove(long timeout)
Removes 1 element from the head.
|
java.lang.Object |
Queue2.remove(long timeout)
Removes 1 element from the head.
|
void |
Queue.removeElement(java.lang.Object obj)
removes a specific object from the queue.
|
void |
LinkedListQueue.removeElement(java.lang.Object obj)
removes a specific object from the queue.
|
void |
Queue2.removeElement(java.lang.Object obj)
removes a specific object from the queue.
|
void |
Queue2.waitUntilEmpty(long timeout)
Blocks until the queue has no elements left.
|
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.