BaseGenericObjectPool.setLifo

Sets whether the pool has LIFO (last in, first out) behaviour with respect to idle objects - always returning the most recently used object from the pool, or as a FIFO (first in, first out) queue, where the pool always returns the oldest object in the idle object pool.

@param lifo <code>true</code> if the pool is to be configured with LIFO behaviour or <code>false</code> if the pool is to be configured with FIFO behaviour

@see #getLifo()

class BaseGenericObjectPool
void
setLifo
(
bool lifo
)

Meta