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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class
Deprecated. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientAsyncConnectionFactory
Deprecated.private final org.apache.http.nio.reactor.ConnectingIOReactor
Deprecated.private final org.apache.commons.logging.Log
Deprecated.private final HttpNIOConnPool
Deprecated.private final AsyncSchemeRegistry
Deprecated. -
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 TypeMethodDescriptionvoid
Deprecated.void
closeIdleConnections
(long idleTimeout, TimeUnit tunit) Deprecated.protected ClientAsyncConnectionFactory
Deprecated.void
execute
(org.apache.http.nio.reactor.IOEventDispatch eventDispatch) Deprecated.protected void
finalize()
Deprecated.private String
Deprecated.private String
format
(HttpPoolEntry entry) Deprecated.private String
formatStats
(org.apache.http.conn.routing.HttpRoute route) Deprecated.int
Deprecated.int
getMaxPerRoute
(org.apache.http.conn.routing.HttpRoute route) Deprecated.int
Deprecated.Deprecated.org.apache.http.pool.PoolStats
getStats
(org.apache.http.conn.routing.HttpRoute route) Deprecated.org.apache.http.nio.reactor.IOReactorStatus
Deprecated.org.apache.http.pool.PoolStats
Deprecated.leaseConnection
(org.apache.http.conn.routing.HttpRoute route, Object state, long connectTimeout, TimeUnit tunit, org.apache.http.concurrent.FutureCallback<ManagedClientAsyncConnection> callback) Deprecated.void
releaseConnection
(ManagedClientAsyncConnection conn, long keepalive, TimeUnit tunit) Deprecated.void
setDefaultMaxPerRoute
(int max) Deprecated.void
setMaxPerRoute
(org.apache.http.conn.routing.HttpRoute route, int max) Deprecated.void
setMaxTotal
(int max) Deprecated.void
shutdown()
Deprecated.void
shutdown
(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
Deprecated. -
createClientAsyncConnectionFactory
Deprecated. -
getSchemeRegistry
Deprecated.- Specified by:
getSchemeRegistry
in interfaceClientAsyncConnectionManager
-
execute
Deprecated.- Specified by:
execute
in interfaceorg.apache.http.nio.reactor.IOReactor
- Throws:
IOException
-
getStatus
public org.apache.http.nio.reactor.IOReactorStatus getStatus()Deprecated.- Specified by:
getStatus
in interfaceorg.apache.http.nio.reactor.IOReactor
-
shutdown
Deprecated.- Specified by:
shutdown
in interfaceorg.apache.http.nio.reactor.IOReactor
- Throws:
IOException
-
shutdown
Deprecated.- Specified by:
shutdown
in interfaceorg.apache.http.nio.reactor.IOReactor
- Throws:
IOException
-
format
Deprecated. -
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:
leaseConnection
in interfaceClientAsyncConnectionManager
-
releaseConnection
Deprecated.- Specified by:
releaseConnection
in interfaceClientAsyncConnectionManager
-
getTotalStats
public org.apache.http.pool.PoolStats getTotalStats()Deprecated.- Specified by:
getTotalStats
in 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:
getStats
in interfaceorg.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
-
setMaxTotal
public void setMaxTotal(int max) Deprecated.- Specified by:
setMaxTotal
in interfaceorg.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
-
setDefaultMaxPerRoute
public void setDefaultMaxPerRoute(int max) Deprecated.- Specified by:
setDefaultMaxPerRoute
in 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:
setMaxPerRoute
in interfaceorg.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
-
getMaxTotal
public int getMaxTotal()Deprecated.- Specified by:
getMaxTotal
in interfaceorg.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
-
getDefaultMaxPerRoute
public int getDefaultMaxPerRoute()Deprecated.- Specified by:
getDefaultMaxPerRoute
in 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:
getMaxPerRoute
in interfaceorg.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
-
closeIdleConnections
Deprecated. -
closeExpiredConnections
public void closeExpiredConnections()Deprecated.
-