ConnPoolControl
@Deprecated @Contract(threading=SAFE) public final class ConnPerRouteBean extends Object implements ConnPerRoute
connection managers
for
a fine-grained control of connections on a per route basis.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_CONNECTIONS_PER_ROUTE
Deprecated.
The default maximum number of connections allowed per host
|
Constructor and Description |
---|
ConnPerRouteBean()
Deprecated.
|
ConnPerRouteBean(int defaultMax)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getDefaultMax()
Deprecated.
|
int |
getDefaultMaxPerRoute()
Deprecated.
|
int |
getMaxForRoute(HttpRoute route)
Deprecated.
|
void |
setDefaultMaxPerRoute(int max)
Deprecated.
|
void |
setMaxForRoute(HttpRoute route,
int max)
Deprecated.
|
void |
setMaxForRoutes(Map<HttpRoute,Integer> map)
Deprecated.
|
String |
toString()
Deprecated.
|
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
in interface ConnPerRoute
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.