KeyedObjectPool.getNumActive

Returns the number of instances currently borrowed from but not yet returned to the pool corresponding to the given <code>key</code>. Returns a negative value if this information is not available.

@param key the key to query @return the number of instances currently borrowed from but not yet returned to the pool corresponding to the given <code>key</code>.

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

Meta