org.apache.hc.core5.testing.classic

## Class LoggingConnPoolListener

- java.lang.Object
- - org.apache.hc.core5.testing.classic.LoggingConnPoolListener

- All Implemented Interfaces:
    ConnPoolListener<HttpHost>

      public class LoggingConnPoolListener
      extends Object
      implements ConnPoolListener<HttpHost>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static LoggingConnPoolListener` | `INSTANCE`

  - ### Method Summary

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### INSTANCE

          public static final LoggingConnPoolListener INSTANCE

  - ### Method Detail

    - #### onLease

          public void onLease(HttpHost route,
                     ConnPoolStats<HttpHost> connPoolStats)

      Specified by:
        `onLease` in interface `ConnPoolListener<HttpHost>`

    - #### onRelease

          public void onRelease(HttpHost route,
                       ConnPoolStats<HttpHost> connPoolStats)

      Specified by:
        `onRelease` in interface `ConnPoolListener<HttpHost>`

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