com.alipay.remoting
Class Configs

java.lang.Object
  extended by com.alipay.remoting.Configs

public class Configs
extends Object

Configuration items.


Field Summary
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
static String NETTY_BUFFER_POOLED_DEFAULT
           
static String NETTY_IO_RATIO
          Netty ioRatio option
static String NETTY_IO_RATIO_DEFAULT
           
static String RETRY_DETECT_PERIOD
          Retry detect period for ScheduledDisconnectStrategy
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_REUSEADDR
          TCP SO_REUSEADDR option
static String TCP_SO_REUSEADDR_DEFAULT
           
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
           
 
Constructor Summary
Configs()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TCP_NODELAY

public static final String TCP_NODELAY
TCP_NODELAY option

See Also:
Constant Field Values

TCP_NODELAY_DEFAULT

public static final String TCP_NODELAY_DEFAULT
See Also:
Constant Field Values

TCP_SO_REUSEADDR

public static final String TCP_SO_REUSEADDR
TCP SO_REUSEADDR option

See Also:
Constant Field Values

TCP_SO_REUSEADDR_DEFAULT

public static final String TCP_SO_REUSEADDR_DEFAULT
See Also:
Constant Field Values

TCP_SO_BACKLOG

public static final String TCP_SO_BACKLOG
TCP SO_BACKLOG option

See Also:
Constant Field Values

TCP_SO_BACKLOG_DEFAULT

public static final String TCP_SO_BACKLOG_DEFAULT
See Also:
Constant Field Values

TCP_SO_KEEPALIVE

public static final String TCP_SO_KEEPALIVE
TCP SO_KEEPALIVE option

See Also:
Constant Field Values

TCP_SO_KEEPALIVE_DEFAULT

public static final String TCP_SO_KEEPALIVE_DEFAULT
See Also:
Constant Field Values

NETTY_IO_RATIO

public static final String NETTY_IO_RATIO
Netty ioRatio option

See Also:
Constant Field Values

NETTY_IO_RATIO_DEFAULT

public static final String NETTY_IO_RATIO_DEFAULT
See Also:
Constant Field Values

NETTY_BUFFER_POOLED

public static final String NETTY_BUFFER_POOLED
Netty buffer allocator

See Also:
Constant Field Values

NETTY_BUFFER_POOLED_DEFAULT

public static final String NETTY_BUFFER_POOLED_DEFAULT
See Also:
Constant Field Values

NETTY_BUFFER_HIGH_WATERMARK

public static final String NETTY_BUFFER_HIGH_WATERMARK
Netty buffer high watermark

See Also:
Constant Field Values

NETTY_BUFFER_HIGH_WATERMARK_DEFAULT

public static final String NETTY_BUFFER_HIGH_WATERMARK_DEFAULT

NETTY_BUFFER_LOW_WATERMARK

public static final String NETTY_BUFFER_LOW_WATERMARK
Netty buffer low watermark

See Also:
Constant Field Values

NETTY_BUFFER_LOW_WATERMARK_DEFAULT

public static final String NETTY_BUFFER_LOW_WATERMARK_DEFAULT

TCP_IDLE_SWITCH

public static final String TCP_IDLE_SWITCH
TCP idle switch

See Also:
Constant Field Values

TCP_IDLE_SWITCH_DEFAULT

public static final String TCP_IDLE_SWITCH_DEFAULT
See Also:
Constant Field Values

TCP_IDLE

public static final String TCP_IDLE
TCP idle interval for client

See Also:
Constant Field Values

TCP_IDLE_DEFAULT

public static final String TCP_IDLE_DEFAULT
See Also:
Constant Field Values

TCP_IDLE_MAXTIMES

public static final String TCP_IDLE_MAXTIMES
TCP idle triggered max times if no response

See Also:
Constant Field Values

TCP_IDLE_MAXTIMES_DEFAULT

public static final String TCP_IDLE_MAXTIMES_DEFAULT
See Also:
Constant Field Values

TCP_SERVER_IDLE

public static final String TCP_SERVER_IDLE
TCP idle interval for server

See Also:
Constant Field Values

TCP_SERVER_IDLE_DEFAULT

public static final String TCP_SERVER_IDLE_DEFAULT
See Also:
Constant Field Values

CONN_CREATE_TP_MIN_SIZE

public static final String CONN_CREATE_TP_MIN_SIZE
Thread pool min size for the connection manager executor

See Also:
Constant Field Values

CONN_CREATE_TP_MIN_SIZE_DEFAULT

public static final String CONN_CREATE_TP_MIN_SIZE_DEFAULT
See Also:
Constant Field Values

CONN_CREATE_TP_MAX_SIZE

public static final String CONN_CREATE_TP_MAX_SIZE
Thread pool max size for the connection manager executor

See Also:
Constant Field Values

CONN_CREATE_TP_MAX_SIZE_DEFAULT

public static final String CONN_CREATE_TP_MAX_SIZE_DEFAULT
See Also:
Constant Field Values

CONN_CREATE_TP_QUEUE_SIZE

public static final String CONN_CREATE_TP_QUEUE_SIZE
Thread pool queue size for the connection manager executor

See Also:
Constant Field Values

CONN_CREATE_TP_QUEUE_SIZE_DEFAULT

public static final String CONN_CREATE_TP_QUEUE_SIZE_DEFAULT
See Also:
Constant Field Values

CONN_CREATE_TP_KEEPALIVE_TIME

public static final String CONN_CREATE_TP_KEEPALIVE_TIME
Thread pool keep alive time for the connection manager executor

See Also:
Constant Field Values

CONN_CREATE_TP_KEEPALIVE_TIME_DEFAULT

public static final String CONN_CREATE_TP_KEEPALIVE_TIME_DEFAULT
See Also:
Constant Field Values

DEFAULT_CONNECT_TIMEOUT

public static final int DEFAULT_CONNECT_TIMEOUT
Default connect timeout value, time unit: ms

See Also:
Constant Field Values

DEFAULT_CONN_NUM_PER_URL

public static final int DEFAULT_CONN_NUM_PER_URL
default connection number per url

See Also:
Constant Field Values

MAX_CONN_NUM_PER_URL

public static final int MAX_CONN_NUM_PER_URL
max connection number of each url

See Also:
Constant Field Values

TP_MIN_SIZE

public static final String TP_MIN_SIZE
Thread pool min size for the default executor.

See Also:
Constant Field Values

TP_MIN_SIZE_DEFAULT

public static final String TP_MIN_SIZE_DEFAULT
See Also:
Constant Field Values

TP_MAX_SIZE

public static final String TP_MAX_SIZE
Thread pool max size for the default executor.

See Also:
Constant Field Values

TP_MAX_SIZE_DEFAULT

public static final String TP_MAX_SIZE_DEFAULT
See Also:
Constant Field Values

TP_QUEUE_SIZE

public static final String TP_QUEUE_SIZE
Thread pool queue size for the default executor.

See Also:
Constant Field Values

TP_QUEUE_SIZE_DEFAULT

public static final String TP_QUEUE_SIZE_DEFAULT
See Also:
Constant Field Values

TP_KEEPALIVE_TIME

public static final String TP_KEEPALIVE_TIME
Thread pool keep alive time for the default executor

See Also:
Constant Field Values

TP_KEEPALIVE_TIME_DEFAULT

public static final String TP_KEEPALIVE_TIME_DEFAULT
See Also:
Constant Field Values

CONN_RECONNECT_SWITCH

public static final String CONN_RECONNECT_SWITCH
Reconnection switch

See Also:
Constant Field Values

CONN_RECONNECT_SWITCH_DEFAULT

public static final String CONN_RECONNECT_SWITCH_DEFAULT
See Also:
Constant Field Values

CONN_MONITOR_SWITCH

public static final 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. Please try to use other types of RPC methods

See Also:
Constant Field Values

CONN_MONITOR_SWITCH_DEFAULT

public static final String CONN_MONITOR_SWITCH_DEFAULT
See Also:
Constant Field Values

CONN_MONITOR_INITIAL_DELAY

public static final String CONN_MONITOR_INITIAL_DELAY
Initial delay to execute schedule task for connection monitor

See Also:
Constant Field Values

CONN_MONITOR_INITIAL_DELAY_DEFAULT

public static final String CONN_MONITOR_INITIAL_DELAY_DEFAULT
See Also:
Constant Field Values

CONN_MONITOR_PERIOD

public static final String CONN_MONITOR_PERIOD
Period of schedule task for connection monitor

See Also:
Constant Field Values

CONN_MONITOR_PERIOD_DEFAULT

public static final String CONN_MONITOR_PERIOD_DEFAULT
See Also:
Constant Field Values

CONN_THRESHOLD

public static final String CONN_THRESHOLD
Connection threshold

See Also:
Constant Field Values

CONN_THRESHOLD_DEFAULT

public static final String CONN_THRESHOLD_DEFAULT
See Also:
Constant Field Values

RETRY_DETECT_PERIOD

public static final String RETRY_DETECT_PERIOD
Retry detect period for ScheduledDisconnectStrategy

See Also:
Constant Field Values

RETRY_DETECT_PERIOD_DEFAULT

public static final String RETRY_DETECT_PERIOD_DEFAULT
See Also:
Constant Field Values

CONN_SERVICE_STATUS

public static final String CONN_SERVICE_STATUS
Connection status

See Also:
Constant Field Values

CONN_SERVICE_STATUS_OFF

public static final String CONN_SERVICE_STATUS_OFF
See Also:
Constant Field Values

CONN_SERVICE_STATUS_ON

public static final String CONN_SERVICE_STATUS_ON
See Also:
Constant Field Values

SERIALIZER

public static final String SERIALIZER
Codec type

See Also:
Constant Field Values

SERIALIZER_DEFAULT

public static final String SERIALIZER_DEFAULT

DEFAULT_CHARSET

public static final String DEFAULT_CHARSET
Charset

See Also:
Constant Field Values
Constructor Detail

Configs

public Configs()


Copyright © 2018. All rights reserved.