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, ConnPoolControl<HttpRoute>
Deprecated.
@Deprecated
public class PoolingClientAsyncConnectionManager
- extends Object
- implements ClientAsyncConnectionManager, ConnPoolControl<HttpRoute>
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
finalize
protected void finalize()
throws Throwable
- Deprecated.
- Overrides:
finalize
in class Object
- Throws:
Throwable
createClientAsyncConnectionFactory
protected ClientAsyncConnectionFactory createClientAsyncConnectionFactory()
- Deprecated.
getSchemeRegistry
public AsyncSchemeRegistry getSchemeRegistry()
- Deprecated.
- Specified by:
getSchemeRegistry
in interface ClientAsyncConnectionManager
execute
public void execute(org.apache.http.nio.reactor.IOEventDispatch eventDispatch)
throws IOException
- Deprecated.
- Specified by:
execute
in interface org.apache.http.nio.reactor.IOReactor
- Throws:
IOException
getStatus
public org.apache.http.nio.reactor.IOReactorStatus getStatus()
- Deprecated.
- Specified by:
getStatus
in interface org.apache.http.nio.reactor.IOReactor
shutdown
public void shutdown(long waitMs)
throws IOException
- Deprecated.
- Specified by:
shutdown
in interface org.apache.http.nio.reactor.IOReactor
- Throws:
IOException
shutdown
public void shutdown()
throws IOException
- Deprecated.
- Specified by:
shutdown
in interface org.apache.http.nio.reactor.IOReactor
- Throws:
IOException
leaseConnection
public Future<ManagedClientAsyncConnection> leaseConnection(HttpRoute route,
Object state,
long connectTimeout,
TimeUnit tunit,
FutureCallback<ManagedClientAsyncConnection> callback)
- Deprecated.
- Specified by:
leaseConnection
in interface ClientAsyncConnectionManager
releaseConnection
public void releaseConnection(ManagedClientAsyncConnection conn,
long keepalive,
TimeUnit tunit)
- Deprecated.
- Specified by:
releaseConnection
in interface ClientAsyncConnectionManager
getTotalStats
public PoolStats getTotalStats()
- Deprecated.
- Specified by:
getTotalStats
in interface ConnPoolControl<HttpRoute>
getStats
public PoolStats getStats(HttpRoute route)
- Deprecated.
- Specified by:
getStats
in interface ConnPoolControl<HttpRoute>
setMaxTotal
public void setMaxTotal(int max)
- Deprecated.
- Specified by:
setMaxTotal
in interface ConnPoolControl<HttpRoute>
setDefaultMaxPerRoute
public void setDefaultMaxPerRoute(int max)
- Deprecated.
- Specified by:
setDefaultMaxPerRoute
in interface ConnPoolControl<HttpRoute>
setMaxPerRoute
public void setMaxPerRoute(HttpRoute route,
int max)
- Deprecated.
- Specified by:
setMaxPerRoute
in interface ConnPoolControl<HttpRoute>
getMaxTotal
public int getMaxTotal()
- Deprecated.
- Specified by:
getMaxTotal
in interface ConnPoolControl<HttpRoute>
getDefaultMaxPerRoute
public int getDefaultMaxPerRoute()
- Deprecated.
- Specified by:
getDefaultMaxPerRoute
in interface ConnPoolControl<HttpRoute>
getMaxPerRoute
public int getMaxPerRoute(HttpRoute route)
- Deprecated.
- Specified by:
getMaxPerRoute
in interface ConnPoolControl<HttpRoute>
closeIdleConnections
public void closeIdleConnections(long idleTimeout,
TimeUnit tunit)
- Deprecated.
closeExpiredConnections
public void closeExpiredConnections()
- Deprecated.
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.