Top Description Methods
org.apache.commons.pool2

public Interface UsageTracking<T>

Known Direct Implementers
org.apache.commons.pool2.impl.GenericKeyedObjectPool, org.apache.commons.pool2.impl.GenericObjectPool
Type Parameters
<T>
The type of object provided by the pool.

This interface may be implemented by an object pool to enable clients (primarily those clients that wrap pools to provide pools with extended features) to provide additional information to the pool relating to object using allowing more informed decisions and reporting to be made regarding abandoned objects.
Since
2.0

Method Summary

Modifier and TypeMethod and Description
public void
use(T
The object that is being used.
pooledObject
)

Called every time a pooled object is used to enable the pool to better track borrowed objects.

Method Detail

useback to summary
public void use(T pooledObject)

Called every time a pooled object is used to enable the pool to better track borrowed objects.

Parameters
pooledObject:T

The object that is being used.