Package org.apache.http.impl.nio.conn
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.
-
-
Constructor Summary
Constructors Constructor Description PoolingClientAsyncConnectionManager(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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcloseExpiredConnections()Deprecated.voidcloseIdleConnections(long idleTimeout, TimeUnit tunit)Deprecated.protected ClientAsyncConnectionFactorycreateClientAsyncConnectionFactory()Deprecated.voidexecute(org.apache.http.nio.reactor.IOEventDispatch eventDispatch)Deprecated.protected voidfinalize()Deprecated.intgetDefaultMaxPerRoute()Deprecated.intgetMaxPerRoute(org.apache.http.conn.routing.HttpRoute route)Deprecated.intgetMaxTotal()Deprecated.AsyncSchemeRegistrygetSchemeRegistry()Deprecated.org.apache.http.pool.PoolStatsgetStats(org.apache.http.conn.routing.HttpRoute route)Deprecated.org.apache.http.nio.reactor.IOReactorStatusgetStatus()Deprecated.org.apache.http.pool.PoolStatsgetTotalStats()Deprecated.Future<ManagedClientAsyncConnection>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.
-
-
-
Constructor Detail
-
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.IOReactorExceptionDeprecated.- Throws:
org.apache.http.nio.reactor.IOReactorException
-
PoolingClientAsyncConnectionManager
public PoolingClientAsyncConnectionManager(org.apache.http.nio.reactor.ConnectingIOReactor ioreactor) throws org.apache.http.nio.reactor.IOReactorExceptionDeprecated.- Throws:
org.apache.http.nio.reactor.IOReactorException
-
-
Method Detail
-
finalize
protected void finalize() throws ThrowableDeprecated.
-
createClientAsyncConnectionFactory
protected ClientAsyncConnectionFactory createClientAsyncConnectionFactory()
Deprecated.
-
getSchemeRegistry
public AsyncSchemeRegistry getSchemeRegistry()
Deprecated.- Specified by:
getSchemeRegistryin interfaceClientAsyncConnectionManager
-
execute
public void execute(org.apache.http.nio.reactor.IOEventDispatch eventDispatch) throws IOExceptionDeprecated.- 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
public void shutdown(long waitMs) throws IOExceptionDeprecated.- Specified by:
shutdownin interfaceorg.apache.http.nio.reactor.IOReactor- Throws:
IOException
-
shutdown
public void shutdown() throws IOExceptionDeprecated.- Specified by:
shutdownin interfaceorg.apache.http.nio.reactor.IOReactor- Throws:
IOException
-
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
public void releaseConnection(ManagedClientAsyncConnection conn, long keepalive, TimeUnit tunit)
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
public void closeIdleConnections(long idleTimeout, TimeUnit tunit)Deprecated.
-
closeExpiredConnections
public void closeExpiredConnections()
Deprecated.
-
-