Class IdleConnectionReaper
java.lang.Object
software.amazon.awssdk.http.apache5.internal.conn.IdleConnectionReaper
Manages the reaping of idle connections.
- 
Method Summary
Modifier and TypeMethodDescriptionbooleanderegisterConnectionManager(org.apache.hc.client5.http.io.HttpClientConnectionManager manager) Deregister this connection manager with this reaper.static IdleConnectionReaperbooleanregisterConnectionManager(org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager manager, long maxIdleTime) Register the connection manager with this reaper. 
- 
Method Details
- 
registerConnectionManager
public boolean registerConnectionManager(org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager manager, long maxIdleTime) Register the connection manager with this reaper.- Parameters:
 manager- The connection manager.maxIdleTime- The maximum time connections in the connection manager are to remain idle before being reaped.- Returns:
 trueIf the connection manager was not previously registered with this reaper,falseotherwise.
 - 
deregisterConnectionManager
public boolean deregisterConnectionManager(org.apache.hc.client5.http.io.HttpClientConnectionManager manager) Deregister this connection manager with this reaper.- Parameters:
 manager- The connection manager.- Returns:
 trueIf this connection manager was previously registered with this reaper and it was removed,falseotherwise.
 - 
getInstance
- Returns:
 - The singleton instance of this class.
 
 
 -