|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jopt.csp.spi.pool.WeakObjectQueue
Pool implementation that releases idle objects during garbage collection
Constructor Summary | |
WeakObjectQueue()
|
Method Summary | |
void |
clear()
Clears queue data |
java.lang.Object |
pop()
Pops an object from the queue or returns null if no objects are in the queue |
void |
push(java.lang.Object obj)
Pushes an object onto the queue |
void |
remove(java.lang.Object obj)
Removes an object from the queue |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WeakObjectQueue()
Method Detail |
public java.lang.Object pop()
public void push(java.lang.Object obj)
public void remove(java.lang.Object obj)
public void clear()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |