| Modifier and Type | Field and Description |
|---|---|
| private final ObjectPool. | |
| private final ObjectPool. | |
| private final ThreadLocal |
| Access | Constructor and Description |
|---|---|
| pack-priv | ThreadLocalObjectPool(ObjectPool.
|
| Modifier and Type | Method and Description |
|---|---|
| public ObjectPool. | take()
Implements org. Takes an exclusive lease of an object from the pool. |
| leaseImpl | back to summary |
|---|---|
| private final ObjectPool. | |
| sanitizer | back to summary |
|---|---|
| private final ObjectPool. | |
| tl | back to summary |
|---|---|
| private final ThreadLocal<O> tl | |
| ThreadLocalObjectPool | back to summary |
|---|---|
| pack-priv ThreadLocalObjectPool(ObjectPool. | |
| take | back to summary |
|---|---|
| public ObjectPool. Implements org. Doc from org. Takes an exclusive lease of an object from the pool. If no existing object is available from the pool, a new one may be provided.
| |