|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Queue
Queue
TODO
Method Summary | |
---|---|
void |
clear()
Discards all the elements in the queue |
void |
dispose()
Disposes this queue by releasing it's storage and associated memory and storage. |
boolean |
offer(Serializable object,
long timeout)
|
Serializable |
peek()
|
Serializable |
poll(long timeout)
|
void |
put(Serializable object)
Puts a new object in this queue and wait if necessary. |
int |
size()
Returns the number of elements in this queue. |
Serializable |
take()
Blocks and retrieves an object from this queue. |
void |
untake(Serializable item)
|
Methods inherited from interface org.mule.api.NamedObject |
---|
getName |
Method Detail |
---|
int size()
void put(Serializable object) throws InterruptedException, ObjectStoreException
InterruptedException
ObjectStoreException
Serializable take() throws InterruptedException
InterruptedException
void untake(Serializable item) throws InterruptedException, ObjectStoreException
InterruptedException
ObjectStoreException
Serializable peek() throws InterruptedException
InterruptedException
Serializable poll(long timeout) throws InterruptedException
InterruptedException
boolean offer(Serializable object, long timeout) throws InterruptedException, ObjectStoreException
InterruptedException
ObjectStoreException
void clear() throws InterruptedException
InterruptedException
void dispose() throws MuleException, InterruptedException
MuleException
InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |