org.apache.hc.core5.pool

## Interface ConnPoolListener<T>

- All Known Implementing Classes:
    LoggingConnPoolListener

      @Contract(threading=STATELESS)
      public interface ConnPoolListener<T>

  Connection pool event listener.
  Since:
    5.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onLease(T route, ConnPoolStats<T> connPoolStats)`
    `void` | `onRelease(T route, ConnPoolStats<T> connPoolStats)`

- - ### Method Detail

    - #### onLease

          void onLease(T route,
                     ConnPoolStats<T> connPoolStats)

    - #### onRelease

          void onRelease(T route,
                       ConnPoolStats<T> connPoolStats)

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