ConnPoolControl
@Deprecated @Contract(threading=SAFE) public final class ConnPerRouteBean extends Object implements ConnPerRoute
connection managers汇总在每个路由的连接的细粒度控制上,可以使用此类 。
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_CONNECTIONS_PER_ROUTE
已过时。
每个主机允许的默认最大连接数
|
| Constructor and Description |
|---|
ConnPerRouteBean()
已过时。
|
ConnPerRouteBean(int defaultMax)
已过时。
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultMax()
已过时。
|
int |
getDefaultMaxPerRoute()
已过时。
|
int |
getMaxForRoute(HttpRoute route)
已过时。
|
void |
setDefaultMaxPerRoute(int max)
已过时。
|
void |
setMaxForRoute(HttpRoute route, int max)
已过时。
|
void |
setMaxForRoutes(Map<HttpRoute,Integer> map)
已过时。
|
String |
toString()
已过时。
|
public static final int DEFAULT_MAX_CONNECTIONS_PER_ROUTE
public ConnPerRouteBean(int defaultMax)
public ConnPerRouteBean()
public int getDefaultMax()
public int getDefaultMaxPerRoute()
public void setDefaultMaxPerRoute(int max)
public void setMaxForRoute(HttpRoute route, int max)
public int getMaxForRoute(HttpRoute route)
getMaxForRoute在接口
ConnPerRoute
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.