public class TransportConfiguration extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanValue(String name,
boolean def)
Get properties that tune nhttp transport.
|
int |
getClientCoreThreads() |
int |
getClientKeepalive() |
int |
getClientMaxThreads() |
int |
getClientQueueLen() |
static TransportConfiguration |
getConfiguration(String transportName) |
int |
getProperty(String name,
int def)
Get properties that tune nhttp transport.
|
int |
getServerCoreThreads() |
int |
getServerKeepalive() |
int |
getServerMaxThreads() |
int |
getServerQueueLen() |
public static TransportConfiguration getConfiguration(String transportName)
public int getServerCoreThreads()
public int getServerMaxThreads()
public int getServerKeepalive()
public int getServerQueueLen()
public int getClientCoreThreads()
public int getClientMaxThreads()
public int getClientKeepalive()
public int getClientQueueLen()
public int getProperty(String name, int def)
name
- name of the system/config propertydef
- default value to return if the property is not setpublic boolean getBooleanValue(String name, boolean def)
name
- name of the system/config propertydef
- default value to return if the property is not setCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.