@NoImplement public interface Queue extends NamedObject
Modifier and Type | Method and Description |
---|---|
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) |
getName
int size()
void put(Serializable object) throws InterruptedException
InterruptedException
Serializable take() throws InterruptedException
InterruptedException
void untake(Serializable item) throws InterruptedException
InterruptedException
Serializable peek() throws InterruptedException
InterruptedException
Serializable poll(long timeout) throws InterruptedException
InterruptedException
boolean offer(Serializable object, long timeout) throws InterruptedException
InterruptedException
void clear() throws InterruptedException
InterruptedException
void dispose() throws MuleException, InterruptedException
MuleException
InterruptedException
Copyright © 2018. All rights reserved.