KeyedObjectPool.getNumIdle

Returns the number of instances corresponding to the given <code>key</code> currently idle in this pool. Returns a negative value if this information is not available.

@param key the key to query @return the number of instances corresponding to the given <code>key</code> currently idle in this pool.

  1. int getNumIdle(K key)
    interface KeyedObjectPool(K, V)
    int
    getNumIdle
    (
    K key
    )
  2. int getNumIdle()

Meta