public class Configs extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
CONN_CREATE_TP_KEEPALIVE_TIME
Thread pool keep alive time for the connection manager executor
|
static String |
CONN_CREATE_TP_KEEPALIVE_TIME_DEFAULT |
static String |
CONN_CREATE_TP_MAX_SIZE
Thread pool max size for the connection manager executor
|
static String |
CONN_CREATE_TP_MAX_SIZE_DEFAULT |
static String |
CONN_CREATE_TP_MIN_SIZE
Thread pool min size for the connection manager executor
|
static String |
CONN_CREATE_TP_MIN_SIZE_DEFAULT |
static String |
CONN_CREATE_TP_QUEUE_SIZE
Thread pool queue size for the connection manager executor
|
static String |
CONN_CREATE_TP_QUEUE_SIZE_DEFAULT |
static String |
CONN_MONITOR_INITIAL_DELAY
Initial delay to execute schedule task for connection monitor
|
static String |
CONN_MONITOR_INITIAL_DELAY_DEFAULT |
static String |
CONN_MONITOR_PERIOD
Period of schedule task for connection monitor
|
static String |
CONN_MONITOR_PERIOD_DEFAULT |
static String |
CONN_MONITOR_SWITCH
Connection monitor switch
If switch on connection monitor, it may cause
RpcClient.oneway(java.lang.String, java.lang.Object) to fail. |
static String |
CONN_MONITOR_SWITCH_DEFAULT |
static String |
CONN_RECONNECT_SWITCH
Reconnection switch
|
static String |
CONN_RECONNECT_SWITCH_DEFAULT |
static String |
CONN_SERVICE_STATUS
Connection status
|
static String |
CONN_SERVICE_STATUS_OFF |
static String |
CONN_SERVICE_STATUS_ON |
static String |
CONN_THRESHOLD
Connection threshold
|
static String |
CONN_THRESHOLD_DEFAULT |
static String |
DEFAULT_CHARSET
Charset
|
static int |
DEFAULT_CONN_NUM_PER_URL
default connection number per url
|
static int |
DEFAULT_CONNECT_TIMEOUT
Default connect timeout value, time unit: ms
|
static int |
MAX_CONN_NUM_PER_URL
max connection number of each url
|
static String |
NETTY_BUFFER_HIGH_WATERMARK
Netty buffer high watermark
|
static String |
NETTY_BUFFER_HIGH_WATERMARK_DEFAULT |
static String |
NETTY_BUFFER_LOW_WATERMARK
Netty buffer low watermark
|
static String |
NETTY_BUFFER_LOW_WATERMARK_DEFAULT |
static String |
NETTY_BUFFER_POOLED
Netty buffer allocator, enabled as default
|
static String |
NETTY_BUFFER_POOLED_DEFAULT |
static String |
NETTY_EPOLL_LT
Netty epoll level trigger enabled
|
static String |
NETTY_EPOLL_LT_DEFAULT |
static String |
NETTY_EPOLL_SWITCH
Netty epoll switch
|
static String |
NETTY_EPOLL_SWITCH_DEFAULT |
static String |
NETTY_IO_RATIO
Netty ioRatio option
|
static String |
NETTY_IO_RATIO_DEFAULT |
static String |
RETRY_DETECT_PERIOD
已过时。
|
static String |
RETRY_DETECT_PERIOD_DEFAULT |
static String |
SERIALIZER
Codec type
|
static String |
SERIALIZER_DEFAULT |
static String |
TCP_IDLE
TCP idle interval for client
|
static String |
TCP_IDLE_DEFAULT |
static String |
TCP_IDLE_MAXTIMES
TCP idle triggered max times if no response
|
static String |
TCP_IDLE_MAXTIMES_DEFAULT |
static String |
TCP_IDLE_SWITCH
TCP idle switch
|
static String |
TCP_IDLE_SWITCH_DEFAULT |
static String |
TCP_NODELAY
TCP_NODELAY option
|
static String |
TCP_NODELAY_DEFAULT |
static String |
TCP_SERVER_IDLE
TCP idle interval for server
|
static String |
TCP_SERVER_IDLE_DEFAULT |
static String |
TCP_SO_BACKLOG
TCP SO_BACKLOG option
|
static String |
TCP_SO_BACKLOG_DEFAULT |
static String |
TCP_SO_KEEPALIVE
TCP SO_KEEPALIVE option
|
static String |
TCP_SO_KEEPALIVE_DEFAULT |
static String |
TCP_SO_RCVBUF
TCP SO_RCVBUF option
|
static String |
TCP_SO_REUSEADDR
TCP SO_REUSEADDR option
|
static String |
TCP_SO_REUSEADDR_DEFAULT |
static String |
TCP_SO_SNDBUF
TCP SO_SNDBUF option
|
static String |
TP_KEEPALIVE_TIME
Thread pool keep alive time for the default executor
|
static String |
TP_KEEPALIVE_TIME_DEFAULT |
static String |
TP_MAX_SIZE
Thread pool max size for the default executor.
|
static String |
TP_MAX_SIZE_DEFAULT |
static String |
TP_MIN_SIZE
Thread pool min size for the default executor.
|
static String |
TP_MIN_SIZE_DEFAULT |
static String |
TP_QUEUE_SIZE
Thread pool queue size for the default executor.
|
static String |
TP_QUEUE_SIZE_DEFAULT |
| 构造器和说明 |
|---|
Configs() |
public static final String NETTY_BUFFER_POOLED
public static final String NETTY_BUFFER_HIGH_WATERMARK
public static final String NETTY_BUFFER_HIGH_WATERMARK_DEFAULT
public static final String NETTY_BUFFER_LOW_WATERMARK
public static final String NETTY_BUFFER_LOW_WATERMARK_DEFAULT
public static final String NETTY_EPOLL_LT
public static final String TCP_IDLE_MAXTIMES
public static final String CONN_CREATE_TP_MIN_SIZE
public static final String CONN_CREATE_TP_MIN_SIZE_DEFAULT
public static final String CONN_CREATE_TP_MAX_SIZE
public static final String CONN_CREATE_TP_MAX_SIZE_DEFAULT
public static final String CONN_CREATE_TP_QUEUE_SIZE
public static final String CONN_CREATE_TP_QUEUE_SIZE_DEFAULT
public static final String CONN_CREATE_TP_KEEPALIVE_TIME
public static final String CONN_CREATE_TP_KEEPALIVE_TIME_DEFAULT
public static final int DEFAULT_CONNECT_TIMEOUT
public static final int DEFAULT_CONN_NUM_PER_URL
public static final int MAX_CONN_NUM_PER_URL
public static final String TP_MIN_SIZE
public static final String TP_MAX_SIZE
public static final String TP_QUEUE_SIZE
public static final String TP_KEEPALIVE_TIME
public static final String CONN_RECONNECT_SWITCH
public static final String CONN_MONITOR_SWITCH
If switch on connection monitor, it may cause RpcClient.oneway(java.lang.String, java.lang.Object) to fail.
Please try to use other types of RPC methods
public static final String CONN_MONITOR_INITIAL_DELAY
public static final String CONN_MONITOR_INITIAL_DELAY_DEFAULT
public static final String CONN_MONITOR_PERIOD
@Deprecated public static final String RETRY_DETECT_PERIOD
public static final String SERIALIZER_DEFAULT
Copyright © 2020. All rights reserved.