T
- The type of object provided by the pool.public interface UsageTracking<T>
Modifier and Type | Method and Description |
---|---|
void |
use(T pooledObject)
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 used.Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.