public static final class Info.Sentinel extends Object implements Serializable
限定符和类型 | 类和说明 |
---|---|
static class |
Info.Sentinel.Key |
static class |
Info.Sentinel.Master |
static class |
Info.Sentinel.Status |
构造器和说明 |
---|
Sentinel(Properties properties) |
限定符和类型 | 方法和说明 |
---|---|
List<Info.Sentinel.Master> |
getMasters()
获取 Master 节点列表
|
Integer |
getRunningScripts()
获取 sentinel 正在运行的脚本数量
|
Integer |
getScriptsQueueLength()
获取 sentinel 在队列中正在排队的脚本的个数
|
Integer |
getSentinelMasters()
获取 Master 数量
|
Integer |
getSentinelSimulateFailureFlags() |
Boolean |
getTilt()
获取是否进入了 tilt 模式
|
Boolean |
isTilt()
获取是否进入了 tilt 模式
|
String |
toPrettyString() |
String |
toString() |
public Sentinel(Properties properties)
public List<Info.Sentinel.Master> getMasters()
public Integer getRunningScripts()
public Integer getSentinelMasters()
public Boolean isTilt()
public Boolean getTilt()
public Integer getScriptsQueueLength()
public Integer getSentinelSimulateFailureFlags()
public String toPrettyString()
Copyright © 2023 buession.com Inc.. All rights reserved.