public interface QueueStoreDelegate
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAll(Collection<? extends Serializable> items)
Appends all of the elements in the specified collection to the queue (optional operation).
|
void |
clear()
Discards all the elements in the queue
|
void |
dispose()
Deletes the queue and it's content.
|
int |
getSize()
Return the size of the queue
|
boolean |
offer(Serializable o,
int room,
long timeout)
Offer to append a new member to the end of the queue
|
Serializable |
peek()
return, but do not remove, the first member of the queue
|
Serializable |
poll(long timeout)
Poll the queue for its first member, and, if there is one, remove and return it
|
void |
putNow(Serializable o)
append a new member to the end of the queue
|
void |
untake(Serializable item)
Restore a previously removed member to the front of the queue
|
void putNow(Serializable o)
boolean offer(Serializable o, int room, long timeout) throws InterruptedException
InterruptedExceptionSerializable poll(long timeout) throws InterruptedException
InterruptedExceptionSerializable peek() throws InterruptedException
InterruptedExceptionvoid untake(Serializable item) throws InterruptedException
InterruptedExceptionint getSize()
void clear()
throws InterruptedException
InterruptedExceptionboolean addAll(Collection<? extends Serializable> items)
items - to be added to the queuevoid dispose()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.