Package org.apache.axis2.transport.base
Class TransportConfiguration
- java.lang.Object
-
- org.apache.axis2.transport.base.TransportConfiguration
-
public class TransportConfiguration extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetBooleanValue(String name, boolean def)Get properties that tune nhttp transport.intgetClientCoreThreads()intgetClientKeepalive()intgetClientMaxThreads()intgetClientQueueLen()static TransportConfigurationgetConfiguration(String transportName)intgetProperty(String name, int def)Get properties that tune nhttp transport.intgetServerCoreThreads()intgetServerKeepalive()intgetServerMaxThreads()intgetServerQueueLen()
-
-
-
Method Detail
-
getConfiguration
public static TransportConfiguration getConfiguration(String transportName)
-
getServerCoreThreads
public int getServerCoreThreads()
-
getServerMaxThreads
public int getServerMaxThreads()
-
getServerKeepalive
public int getServerKeepalive()
-
getServerQueueLen
public int getServerQueueLen()
-
getClientCoreThreads
public int getClientCoreThreads()
-
getClientMaxThreads
public int getClientMaxThreads()
-
getClientKeepalive
public int getClientKeepalive()
-
getClientQueueLen
public int getClientQueueLen()
-
getProperty
public int getProperty(String name, int def)
Get properties that tune nhttp transport. Preference to system properties- Parameters:
name- name of the system/config propertydef- default value to return if the property is not set- Returns:
- the value of the property to be used
-
getBooleanValue
public boolean getBooleanValue(String name, boolean def)
Get properties that tune nhttp transport. Preference to system properties- Parameters:
name- name of the system/config propertydef- default value to return if the property is not set- Returns:
- the value of the property to be used
-
-