Class Pool
- java.lang.Object
-
- com.thoughtworks.xstream.core.util.Pool
-
public class Pool extends java.lang.Object
A simple pool implementation.- Author:
- Jörg Schaible, Joe Walnes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Pool.Factory
-
Constructor Summary
Constructors Constructor Description Pool(int initialPoolSize, int maxPoolSize, Pool.Factory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
fetchFromPool()
protected void
putInPool(java.lang.Object object)
-
-
-
Constructor Detail
-
Pool
public Pool(int initialPoolSize, int maxPoolSize, Pool.Factory factory)
-
-