|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.thoughtworks.xstream.core.util.Pool
A simple pool implementation.
| Nested Class Summary | |
static interface |
Pool.Factory
|
| Constructor Summary | |
Pool(int initialPoolSize,
int maxPoolSize,
Pool.Factory factory)
|
|
| Method Summary | |
java.lang.Object |
fetchFromPool()
|
protected void |
putInPool(java.lang.Object object)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Pool(int initialPoolSize,
int maxPoolSize,
Pool.Factory factory)
| Method Detail |
public java.lang.Object fetchFromPool()
protected void putInPool(java.lang.Object object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||