Package | Description |
---|---|
org.apache.commons.pool2 |
Object pooling API.
|
org.apache.commons.pool2.impl |
Object pooling API implementations.
|
Modifier and Type | Method and Description |
---|---|
static DestroyMode |
DestroyMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DestroyMode[] |
DestroyMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
default void |
KeyedPooledObjectFactory.destroyObject(K key,
PooledObject<V> p,
DestroyMode destroyMode)
Destroys an instance no longer needed by the pool, using the provided
DestroyMode . |
default void |
PooledObjectFactory.destroyObject(PooledObject<T> p,
DestroyMode destroyMode)
Destroys an instance no longer needed by the pool, using the provided
DestroyMode.
|
default void |
KeyedObjectPool.invalidateObject(K key,
V obj,
DestroyMode destroyMode)
Invalidates an object from the pool, using the provided
DestroyMode . |
default void |
ObjectPool.invalidateObject(T obj,
DestroyMode destroyMode)
Invalidates an object from the pool, using the provided
DestroyMode |
Modifier and Type | Method and Description |
---|---|
void |
GenericKeyedObjectPool.invalidateObject(K key,
T obj,
DestroyMode destroyMode)
Invalidates an object from the pool, using the provided
DestroyMode . |
void |
GenericObjectPool.invalidateObject(T obj,
DestroyMode destroyMode)
Invalidates an object from the pool, using the provided
DestroyMode |
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.