| Package | Description |
|---|---|
| org.vibur.objectpool | |
| org.vibur.objectpool.listener |
| Modifier and Type | Method and Description |
|---|---|
Listener<T> |
ConcurrentLinkedPool.listener()
Returns the
Listener interface instance associated with this object pool, if any. |
Listener<T> |
PoolService.listener()
Returns the
Listener interface instance associated with this object pool, if any. |
| Constructor and Description |
|---|
ConcurrentLinkedPool(PoolObjectFactory<T> poolObjectFactory,
int initialSize,
int maxSize,
boolean fair,
Listener<T> listener)
Creates a new
ConcurrentLinkedPool with the given
PoolObjectFactory, initial and max sizes, fairness setting. |
| Modifier and Type | Class and Description |
|---|---|
class |
TakenListener<T>
An instance of this class can be supplied to the pool at its creation time, and its methods will be called
upon calling the pool take and restore operations.
|
Copyright © 2013-2016 vibur.org. All Rights Reserved.