List of usage examples for org.apache.commons.pool.impl StackKeyedObjectPool StackKeyedObjectPool
public StackKeyedObjectPool(KeyedPoolableObjectFactory factory, int max, int init)
SimpleKeyedObjectPool
using the specified factory
to create new instances. From source file:org.canedata.provider.mongodb.pool.FieldsPool.java
private FieldsPool() { pool = new StackKeyedObjectPool(factory, max, 10); }