Java org.apache.commons.pool2.impl GenericKeyedObjectPool fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.pool2.impl GenericKeyedObjectPool fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.pool2.impl GenericKeyedObjectPool.

The text is from its open source code.

Subclass

org.apache.commons.pool2.impl.GenericKeyedObjectPool has subclasses.
Click this link to see all its subclasses.

Constructor

GenericKeyedObjectPool(KeyedPooledObjectFactory factory, GenericKeyedObjectPoolConfig config)
Create a new GenericKeyedObjectPool using a specific configuration.
GenericKeyedObjectPool(KeyedPooledObjectFactory factory)
Create a new GenericKeyedObjectPool using defaults from GenericKeyedObjectPoolConfig .

Method

TborrowObject(K key)
Equivalent to #borrowObject(Object,long) borrowObject (key, #getMaxWaitMillis() ).
voidclose()
Closes the keyed object pool.
voidreturnObject(K key, T obj)
Returns an object to a keyed sub-pool.