public class NetworkConfiguration extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private int |
maxTotal
maximum total external http connections.
|
private int |
maxTotalPerHost
maximum total external http connections per host.
|
private boolean |
usePooling |
Constructor and Description |
---|
NetworkConfiguration() |
NetworkConfiguration(int maxTotal,
int maxTotalPerHost,
boolean usePooling) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxTotal() |
int |
getMaxTotalPerHost() |
boolean |
isUsePooling() |
void |
setMaxTotal(int maxTotal) |
void |
setMaxTotalPerHost(int maxTotalPerHost) |
void |
setUsePooling(boolean usePooling) |
String |
toString() |
private int maxTotal
private int maxTotalPerHost
private boolean usePooling
public NetworkConfiguration()
public NetworkConfiguration(int maxTotal, int maxTotalPerHost, boolean usePooling)
public int getMaxTotal()
public void setMaxTotal(int maxTotal)
public int getMaxTotalPerHost()
public void setMaxTotalPerHost(int maxTotalPerHost)
public boolean isUsePooling()
public void setUsePooling(boolean usePooling)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.