org.apache.axis2.transport.nhttp
Class NHttpConfiguration

java.lang.Object
  extended by org.apache.axis2.transport.nhttp.NHttpConfiguration

public class NHttpConfiguration
extends java.lang.Object

Store and manage properties that tune the nhttp transport


Method Summary
 int getBufferZise()
           
 int getClientCoreThreads()
           
 int getClientIOWorkers()
           
 int getClientKeepalive()
           
 int getClientMaxThreads()
           
 int getClientQueueLen()
           
static NHttpConfiguration getInstance()
           
 int getProperty(java.lang.String name, int def)
          Get properties that tune nhttp transport.
 int getServerCoreThreads()
           
 int getServerIOWorkers()
           
 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

getInstance

public static NHttpConfiguration getInstance()

getServerCoreThreads

public int getServerCoreThreads()

getServerMaxThreads

public int getServerMaxThreads()

getServerKeepalive

public int getServerKeepalive()

getServerQueueLen

public int getServerQueueLen()

getServerIOWorkers

public int getServerIOWorkers()

getClientCoreThreads

public int getClientCoreThreads()

getClientMaxThreads

public int getClientMaxThreads()

getClientKeepalive

public int getClientKeepalive()

getClientQueueLen

public int getClientQueueLen()

getClientIOWorkers

public int getClientIOWorkers()

getBufferZise

public int getBufferZise()

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


Copyright © 2007 Apache Web Services Project. All Rights Reserved.