com.alipay.remoting
Class SystemProperties

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

public class SystemProperties
extends Object

get configs from system properties


Field Summary
static byte serializer
           
 
Constructor Summary
SystemProperties()
           
 
Method Summary
static int conn_create_tp_keepalive()
           
static int conn_create_tp_max_size()
           
static int conn_create_tp_min_size()
           
static int conn_create_tp_queue_size()
           
static long conn_monitor_initial_delay()
           
static long conn_monitor_period()
           
static boolean conn_monitor_switch()
           
static boolean conn_reconnect_switch()
           
static int conn_threshold()
           
static int default_tp_keepalive_time()
           
static int default_tp_max_size()
           
static int default_tp_min_size()
           
static int default_tp_queue_size()
           
protected static boolean getBool(String key, String defaultValue)
           
protected static byte getByte(String key, String defaultValue)
           
protected static int getInt(String key, String defaultValue)
           
protected static long getLong(String key, String defaultValue)
           
static int netty_buffer_high_watermark()
           
static int netty_buffer_low_watermark()
           
static boolean netty_buffer_pooled()
           
static int netty_io_ratio()
           
static int retry_detect_period()
           
static byte serializer()
           
static int tcp_idle_maxtimes()
           
static boolean tcp_idle_switch()
           
static int tcp_idle()
           
static boolean tcp_nodelay()
           
static int tcp_server_idle()
           
static int tcp_so_backlog()
           
static boolean tcp_so_keepalive()
           
static boolean tcp_so_reuseaddr()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serializer

public static final byte serializer
Constructor Detail

SystemProperties

public SystemProperties()
Method Detail

tcp_nodelay

public static boolean tcp_nodelay()

tcp_so_reuseaddr

public static boolean tcp_so_reuseaddr()

tcp_so_backlog

public static int tcp_so_backlog()

tcp_so_keepalive

public static boolean tcp_so_keepalive()

netty_io_ratio

public static int netty_io_ratio()

netty_buffer_pooled

public static boolean netty_buffer_pooled()

netty_buffer_low_watermark

public static int netty_buffer_low_watermark()

netty_buffer_high_watermark

public static int netty_buffer_high_watermark()

tcp_idle_switch

public static boolean tcp_idle_switch()

tcp_idle

public static int tcp_idle()

tcp_idle_maxtimes

public static int tcp_idle_maxtimes()

tcp_server_idle

public static int tcp_server_idle()

conn_create_tp_min_size

public static int conn_create_tp_min_size()

conn_create_tp_max_size

public static int conn_create_tp_max_size()

conn_create_tp_queue_size

public static int conn_create_tp_queue_size()

conn_create_tp_keepalive

public static int conn_create_tp_keepalive()

default_tp_min_size

public static int default_tp_min_size()

default_tp_max_size

public static int default_tp_max_size()

default_tp_queue_size

public static int default_tp_queue_size()

default_tp_keepalive_time

public static int default_tp_keepalive_time()

conn_reconnect_switch

public static boolean conn_reconnect_switch()

conn_monitor_switch

public static boolean conn_monitor_switch()

conn_monitor_initial_delay

public static long conn_monitor_initial_delay()

conn_monitor_period

public static long conn_monitor_period()

conn_threshold

public static int conn_threshold()

retry_detect_period

public static int retry_detect_period()

serializer

public static byte serializer()

getBool

protected static boolean getBool(String key,
                                 String defaultValue)

getInt

protected static int getInt(String key,
                            String defaultValue)

getByte

protected static byte getByte(String key,
                              String defaultValue)

getLong

protected static long getLong(String key,
                              String defaultValue)


Copyright © 2018. All rights reserved.