| Package | Description |
|---|---|
| org.apache.commons.pool2.impl |
Object pooling API implementations.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.ArrayList<PooledSoftReference<T>> |
SoftReferenceObjectPool.allReferences
All references - checked out or waiting to be borrowed.
|
private LinkedBlockingDeque<PooledSoftReference<T>> |
SoftReferenceObjectPool.idleReferences
Idle references - waiting to be borrowed
|
| Modifier and Type | Method and Description |
|---|---|
private PooledSoftReference<T> |
SoftReferenceObjectPool.findReference(T obj)
Find the PooledSoftReference in allReferences that points to obj.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
SoftReferenceObjectPool.destroy(PooledSoftReference<T> toDestroy)
Destroy a
PooledSoftReference and remove it from the idle and all
references pools. |
| Modifier and Type | Method and Description |
|---|---|
private void |
SoftReferenceObjectPool.removeClearedReferences(java.util.Iterator<PooledSoftReference<T>> iterator)
Clears cleared references from iterator's collection
|