org.apache.axis2.transport.base
Class TransportConfiguration

java.lang.Object
  extended by org.apache.axis2.transport.base.TransportConfiguration

public class TransportConfiguration
extends java.lang.Object


Method Summary
 boolean getBooleanValue(java.lang.String name, boolean def)
          Get properties that tune nhttp transport.
 int getClientCoreThreads()
           
 int getClientKeepalive()
           
 int getClientMaxThreads()
           
 int getClientQueueLen()
           
static TransportConfiguration getConfiguration(java.lang.String transportName)
           
 int getProperty(java.lang.String name, int def)
          Get properties that tune nhttp transport.
 int getServerCoreThreads()
           
 int getServerKeepalive()
           
 int getServerMaxThreads()
           
 int getServerQueueLen()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConfiguration

public static TransportConfiguration getConfiguration(java.lang.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(java.lang.String name,
                       int def)
Get properties that tune nhttp transport. Preference to system properties

Parameters:
name - name of the system/config property
def - default value to return if the property is not set
Returns:
the value of the property to be used

getBooleanValue

public boolean getBooleanValue(java.lang.String name,
                               boolean def)
Get properties that tune nhttp transport. Preference to system properties

Parameters:
name - name of the system/config property
def - default value to return if the property is not set
Returns:
the value of the property to be used


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.