@Deprecated class HttpConnPool extends org.apache.http.pool.AbstractConnPool<HttpRoute,OperatedClientConnection,HttpPoolEntry>
Modifier and Type | Class and Description |
---|---|
(package private) static class |
HttpConnPool.InternalConnFactory
Deprecated.
|
Modifier and Type | Field and 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 |
tunit
Deprecated.
|
Constructor and Description |
---|
HttpConnPool(org.apache.commons.logging.Log log,
ClientConnectionOperator connOperator,
int defaultMaxPerRoute,
int maxTotal,
long timeToLive,
java.util.concurrent.TimeUnit tunit)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected HttpPoolEntry |
createEntry(HttpRoute route,
OperatedClientConnection conn)
Deprecated.
|
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
private static final java.util.concurrent.atomic.AtomicLong COUNTER
private final org.apache.commons.logging.Log log
private final long timeToLive
private final java.util.concurrent.TimeUnit tunit
public HttpConnPool(org.apache.commons.logging.Log log, ClientConnectionOperator connOperator, int defaultMaxPerRoute, int maxTotal, long timeToLive, java.util.concurrent.TimeUnit tunit)
protected HttpPoolEntry createEntry(HttpRoute route, OperatedClientConnection conn)
createEntry
in class org.apache.http.pool.AbstractConnPool<HttpRoute,OperatedClientConnection,HttpPoolEntry>