public class NamiGlobal
extends java.lang.Object
构造器和说明 |
---|
NamiGlobal() |
限定符和类型 | 方法和说明 |
---|---|
static int |
getConnectTimeout()
连接超时(单位:秒)
|
static int |
getMaxConnections()
最大连接数
|
static int |
getReadTimeout()
读取超时(单位:秒)
|
static int |
getWriteTimeout()
写入超时(单位:秒)
|
static void |
setConnectTimeout(int seconds) |
static void |
setMaxConnections(int number) |
static void |
setReadTimeout(int seconds) |
static void |
setWriteTimeout(int seconds) |
public static int getMaxConnections()
public static int getConnectTimeout()
public static int getReadTimeout()
public static int getWriteTimeout()
public static void setMaxConnections(int number)
public static void setConnectTimeout(int seconds)
public static void setReadTimeout(int seconds)
public static void setWriteTimeout(int seconds)