Example usage for org.apache.commons.pool.impl StackKeyedObjectPool StackKeyedObjectPool

List of usage examples for org.apache.commons.pool.impl StackKeyedObjectPool StackKeyedObjectPool

Introduction

In this page you can find the example usage for org.apache.commons.pool.impl StackKeyedObjectPool StackKeyedObjectPool.

Prototype

public StackKeyedObjectPool(KeyedPoolableObjectFactory factory, int max, int init) 

Source Link

Document

Create a new SimpleKeyedObjectPool using the specified factory to create new instances.

Usage

From source file:org.canedata.provider.mongodb.pool.FieldsPool.java

private FieldsPool() {
    pool = new StackKeyedObjectPool(factory, max, 10);
}