|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.util.queue.AbstractQueueStoreDelegate
org.mule.util.queue.DefaultQueueStoreDelegate
public class DefaultQueueStoreDelegate
The default QueueStoreDelegate. This uses a LinkedList to store the members of the queue.
| Constructor Summary | |
|---|---|
DefaultQueueStoreDelegate(int capacity)
|
|
| Method Summary | |
|---|---|
protected void |
add(Serializable o)
Adds an item at the end of the queue |
protected void |
addFirst(Serializable item)
Adds an object at the beginning of the queue |
void |
dispose()
Deletes the queue and it's content. |
protected boolean |
doAddAll(Collection<? extends Serializable> items)
Adds all the items at the end of the queue |
protected void |
doClear()
Removes all the items in the queue |
protected Serializable |
getFirst()
reads the first element in the queue |
protected boolean |
isEmpty()
|
protected Serializable |
removeFirst()
removes the first element in the queue |
int |
size()
|
| Methods inherited from class org.mule.util.queue.AbstractQueueStoreDelegate |
|---|
addAll, clear, getSize, offer, peek, poll, putNow, untake |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultQueueStoreDelegate(int capacity)
| Method Detail |
|---|
protected void add(Serializable o)
AbstractQueueStoreDelegate
add in class AbstractQueueStoreDelegateo - object to addprotected Serializable removeFirst()
AbstractQueueStoreDelegate
removeFirst in class AbstractQueueStoreDelegateprotected boolean isEmpty()
isEmpty in class AbstractQueueStoreDelegateprotected Serializable getFirst()
AbstractQueueStoreDelegate
getFirst in class AbstractQueueStoreDelegateprotected void addFirst(Serializable item)
AbstractQueueStoreDelegate
addFirst in class AbstractQueueStoreDelegateitem - object to addprotected void doClear()
AbstractQueueStoreDelegate
doClear in class AbstractQueueStoreDelegatepublic int size()
size in class AbstractQueueStoreDelegateprotected boolean doAddAll(Collection<? extends Serializable> items)
AbstractQueueStoreDelegate
doAddAll in class AbstractQueueStoreDelegateitems - objects to add
public void dispose()
QueueStoreDelegate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||