| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.nio.conn.PoolingClientAsyncConnectionManager
@Deprecated public class PoolingClientAsyncConnectionManager
| Constructor Summary | |
|---|---|
| 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 timeUnit)Deprecated. | |
| Method Summary | |
|---|---|
|  void | closeExpiredConnections()Deprecated. | 
|  void | closeIdleConnections(long idleTimeout,
                     TimeUnit timeUnit)Deprecated. | 
| protected  ClientAsyncConnectionFactory | createClientAsyncConnectionFactory()Deprecated. | 
|  void | execute(org.apache.http.nio.reactor.IOEventDispatch eventDispatch)Deprecated. | 
| protected  void | finalize()Deprecated. | 
|  int | getDefaultMaxPerRoute()Deprecated. | 
|  int | getMaxPerRoute(org.apache.http.conn.routing.HttpRoute route)Deprecated. | 
|  int | getMaxTotal()Deprecated. | 
|  AsyncSchemeRegistry | getSchemeRegistry()Deprecated. | 
|  org.apache.http.pool.PoolStats | getStats(org.apache.http.conn.routing.HttpRoute route)Deprecated. | 
|  org.apache.http.nio.reactor.IOReactorStatus | getStatus()Deprecated. | 
|  org.apache.http.pool.PoolStats | getTotalStats()Deprecated. | 
|  Future<ManagedClientAsyncConnection> | leaseConnection(org.apache.http.conn.routing.HttpRoute route,
                Object state,
                long connectTimeout,
                TimeUnit timeUnit,
                org.apache.http.concurrent.FutureCallback<ManagedClientAsyncConnection> callback)Deprecated. | 
|  void | releaseConnection(ManagedClientAsyncConnection conn,
                  long keepalive,
                  TimeUnit timeUnit)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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PoolingClientAsyncConnectionManager(org.apache.http.nio.reactor.ConnectingIOReactor ioReactor,
                                           AsyncSchemeRegistry schemeRegistry,
                                           long timeToLive,
                                           TimeUnit timeUnit)
public PoolingClientAsyncConnectionManager(org.apache.http.nio.reactor.ConnectingIOReactor ioReactor,
                                           AsyncSchemeRegistry schemeRegistry)
                                    throws org.apache.http.nio.reactor.IOReactorException
org.apache.http.nio.reactor.IOReactorException
public PoolingClientAsyncConnectionManager(org.apache.http.nio.reactor.ConnectingIOReactor ioReactor)
                                    throws org.apache.http.nio.reactor.IOReactorException
org.apache.http.nio.reactor.IOReactorException| Method Detail | 
|---|
protected void finalize()
                 throws Throwable
finalize in class ObjectThrowableprotected ClientAsyncConnectionFactory createClientAsyncConnectionFactory()
public AsyncSchemeRegistry getSchemeRegistry()
getSchemeRegistry in interface ClientAsyncConnectionManager
public void execute(org.apache.http.nio.reactor.IOEventDispatch eventDispatch)
             throws IOException
execute in interface org.apache.http.nio.reactor.IOReactorIOExceptionpublic org.apache.http.nio.reactor.IOReactorStatus getStatus()
getStatus in interface org.apache.http.nio.reactor.IOReactor
public void shutdown(long waitMs)
              throws IOException
shutdown in interface org.apache.http.nio.reactor.IOReactorIOException
public void shutdown()
              throws IOException
shutdown in interface org.apache.http.nio.reactor.IOReactorIOException
public Future<ManagedClientAsyncConnection> leaseConnection(org.apache.http.conn.routing.HttpRoute route,
                                                            Object state,
                                                            long connectTimeout,
                                                            TimeUnit timeUnit,
                                                            org.apache.http.concurrent.FutureCallback<ManagedClientAsyncConnection> callback)
leaseConnection in interface ClientAsyncConnectionManager
public void releaseConnection(ManagedClientAsyncConnection conn,
                              long keepalive,
                              TimeUnit timeUnit)
releaseConnection in interface ClientAsyncConnectionManagerpublic org.apache.http.pool.PoolStats getTotalStats()
getTotalStats in interface org.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>public org.apache.http.pool.PoolStats getStats(org.apache.http.conn.routing.HttpRoute route)
getStats in interface org.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>public void setMaxTotal(int max)
setMaxTotal in interface org.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>public void setDefaultMaxPerRoute(int max)
setDefaultMaxPerRoute in interface org.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
public void setMaxPerRoute(org.apache.http.conn.routing.HttpRoute route,
                           int max)
setMaxPerRoute in interface org.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>public int getMaxTotal()
getMaxTotal in interface org.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>public int getDefaultMaxPerRoute()
getDefaultMaxPerRoute in interface org.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>public int getMaxPerRoute(org.apache.http.conn.routing.HttpRoute route)
getMaxPerRoute in interface org.apache.http.pool.ConnPoolControl<org.apache.http.conn.routing.HttpRoute>
public void closeIdleConnections(long idleTimeout,
                                 TimeUnit timeUnit)
public void closeExpiredConnections()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||