Class H2AsyncClientBuilder.IdleConnectionEvictor
java.lang.Object
org.apache.hc.client5.http.impl.async.H2AsyncClientBuilder.IdleConnectionEvictor
- All Implemented Interfaces:
Closeable, AutoCloseable
- Enclosing class:
H2AsyncClientBuilder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIdleConnectionEvictor(InternalH2ConnPool connPool, org.apache.hc.core5.util.TimeValue maxIdleTime) -
Method Summary
-
Field Details
-
thread
-
-
Constructor Details
-
IdleConnectionEvictor
public IdleConnectionEvictor(InternalH2ConnPool connPool, org.apache.hc.core5.util.TimeValue maxIdleTime)
-
-
Method Details
-
start
public void start() -
shutdown
public void shutdown() -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-