org.apache.archiva.admin.model.beans
Class NetworkConfiguration

java.lang.Object
  extended by org.apache.archiva.admin.model.beans.NetworkConfiguration
All Implemented Interfaces:
Serializable

public class NetworkConfiguration
extends Object
implements Serializable

Since:
1.4-M1
Author:
Olivier Lamy
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
           
 
Constructor Summary
NetworkConfiguration()
           
NetworkConfiguration(int maxTotal, int maxTotalPerHost, boolean usePooling)
           
 
Method Summary
 int getMaxTotal()
           
 int getMaxTotalPerHost()
           
 boolean isUsePooling()
           
 void setMaxTotal(int maxTotal)
           
 void setMaxTotalPerHost(int maxTotalPerHost)
           
 void setUsePooling(boolean usePooling)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
Constructor Detail

NetworkConfiguration

public NetworkConfiguration()

NetworkConfiguration

public NetworkConfiguration(int maxTotal,
                            int maxTotalPerHost,
                            boolean usePooling)
Method Detail

getMaxTotal

public int getMaxTotal()

setMaxTotal

public void setMaxTotal(int maxTotal)

getMaxTotalPerHost

public int getMaxTotalPerHost()

setMaxTotalPerHost

public void setMaxTotalPerHost(int maxTotalPerHost)

isUsePooling

public boolean isUsePooling()

setUsePooling

public void setUsePooling(boolean usePooling)

toString

public String toString()
Overrides:
toString in class Object


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