Class LoggingConnPoolListener
- java.lang.Object
-
- org.apache.hc.core5.testing.classic.LoggingConnPoolListener
-
- All Implemented Interfaces:
ConnPoolListener<HttpHost>
public class LoggingConnPoolListener extends java.lang.Object implements ConnPoolListener<HttpHost>
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Logger
connLog
static LoggingConnPoolListener
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
LoggingConnPoolListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onLease(HttpHost route, ConnPoolStats<HttpHost> connPoolStats)
void
onRelease(HttpHost route, ConnPoolStats<HttpHost> connPoolStats)
-
-
-
Field Detail
-
INSTANCE
public static final LoggingConnPoolListener INSTANCE
-
connLog
private final org.slf4j.Logger connLog
-
-
Method Detail
-
onLease
public void onLease(HttpHost route, ConnPoolStats<HttpHost> connPoolStats)
- Specified by:
onLease
in interfaceConnPoolListener<HttpHost>
-
onRelease
public void onRelease(HttpHost route, ConnPoolStats<HttpHost> connPoolStats)
- Specified by:
onRelease
in interfaceConnPoolListener<HttpHost>
-
-