T - The pooled type.public interface Pool<T>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Pool.Factory<T>
The pooled object factory.
|
| Modifier and Type | Method and Description |
|---|---|
T |
obtain() |
void |
recycle(T instance)
Release an instance to the pool.
|