public class DefaultQueueStoreDelegate extends AbstractQueueStoreDelegate
| Constructor and Description |
|---|
DefaultQueueStoreDelegate(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected void add(Serializable o)
AbstractQueueStoreDelegateadd in class AbstractQueueStoreDelegateo - object to addprotected Serializable removeFirst()
AbstractQueueStoreDelegateremoveFirst in class AbstractQueueStoreDelegateprotected boolean isEmpty()
isEmpty in class AbstractQueueStoreDelegateprotected Serializable getFirst()
AbstractQueueStoreDelegategetFirst in class AbstractQueueStoreDelegateprotected void addFirst(Serializable item)
AbstractQueueStoreDelegateaddFirst in class AbstractQueueStoreDelegateitem - object to addprotected void doClear()
AbstractQueueStoreDelegatedoClear in class AbstractQueueStoreDelegatepublic int size()
size in class AbstractQueueStoreDelegateprotected boolean doAddAll(Collection<? extends Serializable> items)
AbstractQueueStoreDelegatedoAddAll in class AbstractQueueStoreDelegateitems - objects to addpublic void dispose()
QueueStoreDelegateCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.