public class TransportConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSOLE_SERVER |
static String |
HEARTBEAT_CLIENT_IP |
static String |
HEARTBEAT_INTERVAL_MS |
static String |
SERVER_PORT |
| Constructor and Description |
|---|
TransportConfig() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getConsoleServer()
Get ip:port of Sentinel Dashboard.
|
static String |
getHeartbeatClientIp()
Get heartbeat client local ip.
|
static Long |
getHeartbeatIntervalMs()
Get heartbeat interval in milliseconds.
|
static String |
getPort()
Get Server port of this HTTP server.
|
static int |
getRuntimePort() |
static void |
setRuntimePort(int port)
Set real port this HTTP server uses.
|
public static final String CONSOLE_SERVER
public static final String SERVER_PORT
public static final String HEARTBEAT_INTERVAL_MS
public static final String HEARTBEAT_CLIENT_IP
public static Long getHeartbeatIntervalMs()
public static String getConsoleServer()
public static int getRuntimePort()
public static String getPort()
public static void setRuntimePort(int port)
port - real port.public static String getHeartbeatClientIp()
Copyright © 2019 Alibaba Group. All rights reserved.