|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.cluster.util.SmartQueue
Nested Class Summary | |
static class |
SmartQueue.SmartEntry
|
Field Summary | |
static org.apache.commons.logging.Log |
log
|
Constructor Summary | |
SmartQueue()
|
Method Summary | |
void |
add(SmartQueue.SmartEntry entry)
Add an object to the queue |
SmartQueue.SmartEntry |
remove()
Blocks forever until an element has been added to the queue |
SmartQueue.SmartEntry |
remove(long timeout)
|
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static org.apache.commons.logging.Log log
Constructor Detail |
public SmartQueue()
Method Detail |
public void add(SmartQueue.SmartEntry entry)
entry
- -
the smart entrypublic int size()
public SmartQueue.SmartEntry remove()
public SmartQueue.SmartEntry remove(long timeout)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |