Package | Description |
---|---|
org.apache.commons.pool.impl |
Object pooling API implementations.
|
Modifier and Type | Field and Description |
---|---|
private GenericKeyedObjectPool.ObjectTimestampPair<T> |
GenericObjectPool.Latch._pair
object timestamp pair allocated to this latch
|
private GenericKeyedObjectPool.ObjectTimestampPair<LV> |
GenericKeyedObjectPool.Latch._pair
holds an ObjectTimestampPair when this latch has been allocated an instance
|
Modifier and Type | Field and Description |
---|---|
private CursorableLinkedList<GenericKeyedObjectPool.ObjectTimestampPair<T>> |
GenericObjectPool._pool
My pool.
|
private CursorableLinkedList<GenericKeyedObjectPool.ObjectTimestampPair<V>> |
GenericKeyedObjectPool.ObjectQueue.queue
Idle instance queue
|
Modifier and Type | Method and Description |
---|---|
private GenericKeyedObjectPool.ObjectTimestampPair<T> |
GenericObjectPool.Latch.getPair()
Returns ObjectTimestampPair allocated to this latch
|
private GenericKeyedObjectPool.ObjectTimestampPair<LV> |
GenericKeyedObjectPool.Latch.getPair()
Gets the ObjectTimestampPair allocated to this latch.
|
Modifier and Type | Method and Description |
---|---|
int |
GenericKeyedObjectPool.ObjectTimestampPair.compareTo(GenericKeyedObjectPool.ObjectTimestampPair<T> other)
Compares this to another ObjectTimestampPair, using the timestamp as basis for comparison.
|
private void |
GenericKeyedObjectPool.Latch.setPair(GenericKeyedObjectPool.ObjectTimestampPair<LV> pair)
Allocate an ObjectTimestampPair to this latch.
|
private void |
GenericObjectPool.Latch.setPair(GenericKeyedObjectPool.ObjectTimestampPair<T> pair)
Sets ObjectTimestampPair on this latch
|
Modifier and Type | Method and Description |
---|---|
private void |
GenericObjectPool.destroy(java.util.Collection<GenericKeyedObjectPool.ObjectTimestampPair<T>> c,
PoolableObjectFactory<T> factory)
Private method to destroy all the objects in a collection using the
supplied object factory.
|
private void |
GenericKeyedObjectPool.destroy(java.util.Map<K,java.util.List<GenericKeyedObjectPool.ObjectTimestampPair<V>>> m,
KeyedPoolableObjectFactory<K,V> factory)
Assuming Map
|