|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.excalibur.event.AbstractQueue
The default queue implementation is a variable size queue.
Field Summary | |
protected long |
m_timeout
|
Constructor Summary | |
AbstractQueue()
|
Method Summary | |
protected void |
block(java.lang.Object lock)
|
int |
canAccept()
Default for canAccept() |
boolean |
isFull()
Default for isFull() |
int |
maxSize()
Default maxSize to -1 which is unbounded |
void |
setTimeout(long millis)
Set the timeout |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.avalon.excalibur.event.Source |
enqueue, enqueue, prepareEnqueue, size, tryEnqueue |
Methods inherited from interface org.apache.avalon.excalibur.event.Sink |
dequeue, dequeue, dequeueAll, size |
Field Detail |
protected long m_timeout
Constructor Detail |
public AbstractQueue()
Method Detail |
public int canAccept()
canAccept
in interface Source
public int maxSize()
maxSize
in interface Source
org.apache.avalon.excalibur.event.Source
public boolean isFull()
isFull
in interface Source
public void setTimeout(long millis)
setTimeout
in interface Sink
protected void block(java.lang.Object lock)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |