接口 Constants
-
- 所有已知实现类:
Constants
public interface Constants
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringASYNC_METHOD_INFOstatic StringCALLBACK_SERVICE_KEYcallback inst idstatic StringCALLBACK_SERVICE_PROXY_KEYstatic StringCHANNEL_CALLBACK_KEYInvokers in channel's callbackstatic StringDECODE_IN_IO_THREAD_KEYstatic booleanDEFAULT_DECODE_IN_IO_THREADstatic booleanDEFAULT_LAZY_CONNECT_INITIAL_STATEThe default value of lazy connection's initial state: truestatic StringDEFAULT_SHARE_CONNECTIONSBy default, a consumer JVM instance and a provider JVM instance share a long TCP connection (except when connections are set), which can set the number of long TCP connections shared to avoid the bottleneck of sharing a single long TCP connection.static StringIS_CALLBACK_SERVICEstatic StringLAZY_CONNECT_INITIAL_STATE_KEYThe initial state for lazy connectionstatic StringON_CONNECT_KEYstatic StringON_DISCONNECT_KEYstatic StringOPTIMIZER_KEYstatic StringSHARE_CONNECTIONS_KEY
-
-
-
字段详细资料
-
DEFAULT_SHARE_CONNECTIONS
static final String DEFAULT_SHARE_CONNECTIONS
By default, a consumer JVM instance and a provider JVM instance share a long TCP connection (except when connections are set), which can set the number of long TCP connections shared to avoid the bottleneck of sharing a single long TCP connection.- 另请参阅:
- 常量字段值
-
DEFAULT_DECODE_IN_IO_THREAD
static final boolean DEFAULT_DECODE_IN_IO_THREAD
- 另请参阅:
- 常量字段值
-
CHANNEL_CALLBACK_KEY
static final String CHANNEL_CALLBACK_KEY
Invokers in channel's callback- 另请参阅:
- 常量字段值
-
LAZY_CONNECT_INITIAL_STATE_KEY
static final String LAZY_CONNECT_INITIAL_STATE_KEY
The initial state for lazy connection- 另请参阅:
- 常量字段值
-
DEFAULT_LAZY_CONNECT_INITIAL_STATE
static final boolean DEFAULT_LAZY_CONNECT_INITIAL_STATE
The default value of lazy connection's initial state: true
-
-