Uses of Enum
org.apache.commons.pool2.DestroyMode
Package
Description
Object pooling API.
Object pooling API implementations.
-
Uses of DestroyMode in org.apache.commons.pool2
Modifier and TypeMethodDescriptionstatic DestroyMode
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 TypeMethodDescriptiondefault void
KeyedPooledObjectFactory.destroyObject
(K key, PooledObject<V> p, DestroyMode destroyMode) Destroys an instance no longer needed by the pool, using the providedDestroyMode
.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 providedDestroyMode
.default void
ObjectPool.invalidateObject
(T obj, DestroyMode destroyMode) Invalidates an object from the pool, using the providedDestroyMode
-
Uses of DestroyMode in org.apache.commons.pool2.impl
Modifier and TypeMethodDescriptionvoid
GenericKeyedObjectPool.invalidateObject
(K key, T obj, DestroyMode destroyMode) Invalidates an object from the pool, using the providedDestroyMode
.void
GenericObjectPool.invalidateObject
(T obj, DestroyMode destroyMode) Invalidates an object from the pool, using the providedDestroyMode