Uses of Enum
org.apache.commons.pool2.DestroyMode
Packages that use DestroyMode
Package
Description
Object pooling API.
Object pooling API implementations.
-
Uses of DestroyMode in org.apache.commons.pool2
Methods in org.apache.commons.pool2 that return DestroyModeModifier and TypeMethodDescriptionstatic DestroyModeReturns 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.Methods in org.apache.commons.pool2 with parameters of type DestroyModeModifier and TypeMethodDescriptiondefault voidKeyedPooledObjectFactory.destroyObject(K key, PooledObject<V> p, DestroyMode destroyMode) Destroys an instance no longer needed by the pool, using the providedDestroyMode.default voidPooledObjectFactory.destroyObject(PooledObject<T> p, DestroyMode destroyMode) Destroys an instance no longer needed by the pool, using the provided DestroyMode.default voidKeyedObjectPool.invalidateObject(K key, V obj, DestroyMode destroyMode) Invalidates an object from the pool, using the providedDestroyMode.default voidObjectPool.invalidateObject(T obj, DestroyMode destroyMode) Invalidates an object from the pool, using the providedDestroyMode -
Uses of DestroyMode in org.apache.commons.pool2.impl
Methods in org.apache.commons.pool2.impl with parameters of type DestroyModeModifier and TypeMethodDescriptionvoidGenericKeyedObjectPool.invalidateObject(K key, T obj, DestroyMode destroyMode) Invalidates an object from the pool, using the providedDestroyMode.voidGenericObjectPool.invalidateObject(T obj, DestroyMode destroyMode) Invalidates an object from the pool, using the providedDestroyMode