Package org.miaixz.bus.http.accord
Class RealConnectionPool
java.lang.Object
org.miaixz.bus.http.accord.RealConnectionPool
-
Constructor Summary
ConstructorsConstructorDescriptionRealConnectionPool(int maxIdleConnections, long keepAliveDuration, TimeUnit timeUnit) -
Method Summary
Modifier and TypeMethodDescriptionvoidconnectFailed(Route failedRoute, IOException failure) Track a bad route in the route database.intvoidevictAll()int
-
Constructor Details
-
RealConnectionPool
-
-
Method Details
-
idleConnectionCount
public int idleConnectionCount() -
connectionCount
public int connectionCount() -
evictAll
public void evictAll() -
connectFailed
Track a bad route in the route database. Other routes will be attempted first.
-