Package org.apache.http.impl.conn
Class HttpConnPool
- java.lang.Object
-
- org.apache.http.pool.AbstractConnPool<HttpRoute,OperatedClientConnection,HttpPoolEntry>
-
- org.apache.http.impl.conn.HttpConnPool
-
- All Implemented Interfaces:
org.apache.http.pool.ConnPool<HttpRoute,HttpPoolEntry>
,org.apache.http.pool.ConnPoolControl<HttpRoute>
@Deprecated class HttpConnPool extends org.apache.http.pool.AbstractConnPool<HttpRoute,OperatedClientConnection,HttpPoolEntry>
Deprecated.(4.3) no longer used.- Since:
- 4.2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
HttpConnPool.InternalConnFactory
Deprecated.
-
Field Summary
Fields Modifier and Type Field Description private static java.util.concurrent.atomic.AtomicLong
COUNTER
Deprecated.private org.apache.commons.logging.Log
log
Deprecated.private long
timeToLive
Deprecated.private java.util.concurrent.TimeUnit
timeUnit
Deprecated.
-
Constructor Summary
Constructors Constructor Description HttpConnPool(org.apache.commons.logging.Log log, ClientConnectionOperator connOperator, int defaultMaxPerRoute, int maxTotal, long timeToLive, java.util.concurrent.TimeUnit timeUnit)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected HttpPoolEntry
createEntry(HttpRoute route, OperatedClientConnection conn)
Deprecated.-
Methods inherited from class org.apache.http.pool.AbstractConnPool
closeExpired, closeIdle, enumAvailable, enumLeased, getDefaultMaxPerRoute, getMaxPerRoute, getMaxTotal, getRoutes, getStats, getTotalStats, getValidateAfterInactivity, isShutdown, lease, lease, onLease, onRelease, onReuse, release, setDefaultMaxPerRoute, setMaxPerRoute, setMaxTotal, setValidateAfterInactivity, shutdown, toString, validate
-
-
-
-
Constructor Detail
-
HttpConnPool
public HttpConnPool(org.apache.commons.logging.Log log, ClientConnectionOperator connOperator, int defaultMaxPerRoute, int maxTotal, long timeToLive, java.util.concurrent.TimeUnit timeUnit)
Deprecated.
-
-
Method Detail
-
createEntry
protected HttpPoolEntry createEntry(HttpRoute route, OperatedClientConnection conn)
Deprecated.- Specified by:
createEntry
in classorg.apache.http.pool.AbstractConnPool<HttpRoute,OperatedClientConnection,HttpPoolEntry>
-
-