public class TransportConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONSOLE_SERVER |
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 Long |
getHeartbeatIntervalMs() |
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 Long getHeartbeatIntervalMs()
public static String getConsoleServer()
public static int getRuntimePort()
public static String getPort()
public static void setRuntimePort(int port)
port - real port.Copyright © 2018 Alibaba Group. All rights reserved.