org.apache.hc.core5.pool

## Interface ManagedConnPool<T,C extends ModalCloseable>

- Type Parameters:
    `T` - the route type that represents the opposite endpoint of a pooled connection.
    `C` - the type of pooled connections.
  All Superinterfaces:
    AutoCloseable, Closeable, ConnPool<T,C>, ConnPoolControl<T>, ConnPoolStats<T>, ModalCloseable
  All Known Implementing Classes:
    LaxConnPool, StrictConnPool

      public interface ManagedConnPool<T,C extends ModalCloseable>
      extends ConnPool<T,C>, ConnPoolControl<T>, ModalCloseable

  `ConnPool` that also implements `ConnPoolControl` and `AutoCloseable`.
  Since:
    4.2

- - ### Method Summary

    - ### Methods inherited from interface org.apache.hc.core5.pool.ConnPool

      `lease, release`

    - ### Methods inherited from interface org.apache.hc.core5.pool.ConnPoolControl

      `closeExpired, closeIdle, getDefaultMaxPerRoute, getMaxPerRoute, getMaxTotal, getRoutes, setDefaultMaxPerRoute, setMaxPerRoute, setMaxTotal`

    - ### Methods inherited from interface org.apache.hc.core5.pool.ConnPoolStats

      `getStats, getTotalStats`

    - ### Methods inherited from interface org.apache.hc.core5.io.ModalCloseable

      `close`

    - ### Methods inherited from interface java.io.Closeable

      `close`

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.