Class PoolingClientAsyncConnectionManager
java.lang.Object
org.apache.http.impl.nio.conn.PoolingClientAsyncConnectionManager
- All Implemented Interfaces:
ClientAsyncConnectionManager, org.apache.http.nio.reactor.IOReactor, org.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
@Deprecated
public class PoolingClientAsyncConnectionManager
extends Object
implements ClientAsyncConnectionManager, org.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) classDeprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientAsyncConnectionFactoryDeprecated.private final org.apache.http.nio.reactor.ConnectingIOReactorDeprecated.private final org.apache.commons.logging.LogDeprecated.private final HttpNIOConnPoolDeprecated.private final AsyncSchemeRegistryDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionPoolingClientAsyncConnectionManager(org.apache.http.nio.reactor.ConnectingIOReactor ioreactor) Deprecated.PoolingClientAsyncConnectionManager(org.apache.http.nio.reactor.ConnectingIOReactor ioreactor, AsyncSchemeRegistry schemeRegistry) Deprecated.PoolingClientAsyncConnectionManager(org.apache.http.nio.reactor.ConnectingIOReactor ioreactor, AsyncSchemeRegistry schemeRegistry, long timeToLive, TimeUnit tunit) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidcloseIdleConnections(long idleTimeout, TimeUnit tunit) Deprecated.protected ClientAsyncConnectionFactoryDeprecated.voidexecute(org.apache.http.nio.reactor.IOEventDispatch eventDispatch) Deprecated.protected voidfinalize()Deprecated.private StringDeprecated.private Stringformat(HttpPoolEntry entry) Deprecated.private StringformatStats(org.apache.http.conn.routing.HttpRoute route) Deprecated.intDeprecated.intgetMaxPerRoute(org.apache.http.conn.routing.HttpRoute route) Deprecated.intDeprecated.Deprecated.org.apache.http.pool.PoolStatsgetStats(org.apache.http.conn.routing.HttpRoute route) Deprecated.org.apache.http.nio.reactor.IOReactorStatusDeprecated.org.apache.http.pool.PoolStatsDeprecated.leaseConnection(org.apache.http.conn.routing.HttpRoute route, Object state, long connectTimeout, TimeUnit tunit, org.apache.http.concurrent.FutureCallback<ManagedClientAsyncConnection> callback) Deprecated.voidreleaseConnection(ManagedClientAsyncConnection conn, long keepalive, TimeUnit tunit) Deprecated.voidsetDefaultMaxPerRoute(int max) Deprecated.voidsetMaxPerRoute(org.apache.http.conn.routing.HttpRoute route, int max) Deprecated.voidsetMaxTotal(int max) Deprecated.voidshutdown()Deprecated.voidshutdown(long waitMs) Deprecated.
-
Field Details
-
log
private final org.apache.commons.logging.Log logDeprecated. -
ioreactor
private final org.apache.http.nio.reactor.ConnectingIOReactor ioreactorDeprecated. -
pool
Deprecated. -
schemeRegistry
Deprecated. -
connFactory
Deprecated.
-
-
Constructor Details
-
PoolingClientAsyncConnectionManager
public PoolingClientAsyncConnectionManager(org.apache.http.nio.reactor.ConnectingIOReactor ioreactor, AsyncSchemeRegistry schemeRegistry, long timeToLive, TimeUnit tunit) Deprecated. -
PoolingClientAsyncConnectionManager
public PoolingClientAsyncConnectionManager(org.apache.http.nio.reactor.ConnectingIOReactor ioreactor, AsyncSchemeRegistry schemeRegistry) throws org.apache.http.nio.reactor.IOReactorException Deprecated.- Throws:
org.apache.http.nio.reactor.IOReactorException
-
PoolingClientAsyncConnectionManager
public PoolingClientAsyncConnectionManager(org.apache.http.nio.reactor.ConnectingIOReactor ioreactor) throws org.apache.http.nio.reactor.IOReactorException Deprecated.- Throws:
org.apache.http.nio.reactor.IOReactorException
-
-
Method Details
-
finalize
-
createClientAsyncConnectionFactory
Deprecated. -
getSchemeRegistry
Deprecated.- Specified by:
getSchemeRegistryin interfaceClientAsyncConnectionManager
-
execute
Deprecated.- Specified by:
executein interfaceorg.apache.http.nio.reactor.IOReactor- Throws:
IOException
-
getStatus
public org.apache.http.nio.reactor.IOReactorStatus getStatus()Deprecated.- Specified by:
getStatusin interfaceorg.apache.http.nio.reactor.IOReactor
-
shutdown
Deprecated.- Specified by:
shutdownin interfaceorg.apache.http.nio.reactor.IOReactor- Throws:
IOException
-
shutdown
Deprecated.- Specified by:
shutdownin interfaceorg.apache.http.nio.reactor.IOReactor- Throws:
IOException
-
format
-
formatStats
Deprecated. -
format
Deprecated. -
leaseConnection
public Future<ManagedClientAsyncConnection> leaseConnection(org.apache.http.conn.routing.HttpRoute route, Object state, long connectTimeout, TimeUnit tunit, org.apache.http.concurrent.FutureCallback<ManagedClientAsyncConnection> callback) Deprecated.- Specified by:
leaseConnectionin interfaceClientAsyncConnectionManager
-
releaseConnection
Deprecated.- Specified by:
releaseConnectionin interfaceClientAsyncConnectionManager
-
getTotalStats
public org.apache.http.pool.PoolStats getTotalStats()Deprecated.- Specified by:
getTotalStatsin interfaceorg.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
-
getStats
public org.apache.http.pool.PoolStats getStats(org.apache.http.conn.routing.HttpRoute route) Deprecated.- Specified by:
getStatsin interfaceorg.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
-
setMaxTotal
public void setMaxTotal(int max) Deprecated.- Specified by:
setMaxTotalin interfaceorg.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
-
setDefaultMaxPerRoute
public void setDefaultMaxPerRoute(int max) Deprecated.- Specified by:
setDefaultMaxPerRoutein interfaceorg.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
-
setMaxPerRoute
public void setMaxPerRoute(org.apache.http.conn.routing.HttpRoute route, int max) Deprecated.- Specified by:
setMaxPerRoutein interfaceorg.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
-
getMaxTotal
public int getMaxTotal()Deprecated.- Specified by:
getMaxTotalin interfaceorg.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
-
getDefaultMaxPerRoute
public int getDefaultMaxPerRoute()Deprecated.- Specified by:
getDefaultMaxPerRoutein interfaceorg.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
-
getMaxPerRoute
public int getMaxPerRoute(org.apache.http.conn.routing.HttpRoute route) Deprecated.- Specified by:
getMaxPerRoutein interfaceorg.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
-
closeIdleConnections
Deprecated. -
closeExpiredConnections
public void closeExpiredConnections()Deprecated.
-