|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.archiva.configuration.NetworkConfiguration
public class NetworkConfiguration
The network configuration for external http request to repositories.
Field Summary | |
---|---|
private int |
maxTotal
maximum total external http connections. |
private int |
maxTotalPerHost
maximum total external http connections per host. |
private boolean |
usePooling
use or not http connection pooling default true. |
Constructor Summary | |
---|---|
NetworkConfiguration()
|
Method Summary | |
---|---|
int |
getMaxTotal()
Get maximum total external http connections. |
int |
getMaxTotalPerHost()
Get maximum total external http connections per host. |
boolean |
isUsePooling()
Get use or not http connection pooling default true. |
void |
setMaxTotal(int maxTotal)
Set maximum total external http connections. |
void |
setMaxTotalPerHost(int maxTotalPerHost)
Set maximum total external http connections per host. |
void |
setUsePooling(boolean usePooling)
Set use or not http connection pooling default true. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int maxTotal
private int maxTotalPerHost
private boolean usePooling
Constructor Detail |
---|
public NetworkConfiguration()
Method Detail |
---|
public int getMaxTotal()
public int getMaxTotalPerHost()
public boolean isUsePooling()
public void setMaxTotal(int maxTotal)
maxTotal
- public void setMaxTotalPerHost(int maxTotalPerHost)
maxTotalPerHost
- public void setUsePooling(boolean usePooling)
usePooling
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |