public class GlobalSwitch extends Object implements Switch
NOTICE:
1. system settings will take effect in all bolt client or server instances in one process
2. user settings will only take effect in the current instance of bolt client or server.
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CODEC_FLUSH_CONSOLIDATION |
static int |
CONN_MONITOR_SWITCH |
static int |
CONN_RECONNECT_SWITCH |
static int |
SERVER_MANAGE_CONNECTION_SWITCH |
static int |
SERVER_SYNC_STOP |
| 构造器和说明 |
|---|
GlobalSwitch()
Init with system default value
if settings exist by system property then use system property at first;
if no settings exist by system property then use default value in
Configs
All these settings can be overwrite by user api settings. |
public static final int CONN_RECONNECT_SWITCH
public static final int CONN_MONITOR_SWITCH
public static final int SERVER_MANAGE_CONNECTION_SWITCH
public static final int SERVER_SYNC_STOP
public static final int CODEC_FLUSH_CONSOLIDATION
public GlobalSwitch()
Configs
All these settings can be overwrite by user api settings.Copyright © 2020. All rights reserved.