T
- The type of object provided by the pool.GenericObjectPool
public interface UsageTracking<T>
Modifier and Type | Method | Description |
---|---|---|
void |
use(T pooledObject) |
This method is called every time a pooled object is used to enable the pool to
better track borrowed objects.
|
void use(T pooledObject)
pooledObject
- The object that is being usedCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.