org.apache.archiva.configuration
Class NetworkConfiguration

java.lang.Object
  extended by org.apache.archiva.configuration.NetworkConfiguration
All Implemented Interfaces:
Serializable

public class NetworkConfiguration
extends Object
implements Serializable

The network configuration for external http request to repositories.

Version:
$Revision$ $Date$
See Also:
Serialized Form

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

maxTotal

private int maxTotal
maximum total external http connections.


maxTotalPerHost

private int maxTotalPerHost
maximum total external http connections per host.


usePooling

private boolean usePooling
use or not http connection pooling default true.

Constructor Detail

NetworkConfiguration

public NetworkConfiguration()
Method Detail

getMaxTotal

public int getMaxTotal()
Get maximum total external http connections.

Returns:
int

getMaxTotalPerHost

public int getMaxTotalPerHost()
Get maximum total external http connections per host.

Returns:
int

isUsePooling

public boolean isUsePooling()
Get use or not http connection pooling default true.

Returns:
boolean

setMaxTotal

public void setMaxTotal(int maxTotal)
Set maximum total external http connections.

Parameters:
maxTotal -

setMaxTotalPerHost

public void setMaxTotalPerHost(int maxTotalPerHost)
Set maximum total external http connections per host.

Parameters:
maxTotalPerHost -

setUsePooling

public void setUsePooling(boolean usePooling)
Set use or not http connection pooling default true.

Parameters:
usePooling -


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.