public class InstanceClusterNode extends AbstractModel
Constructor and Description |
---|
InstanceClusterNode() |
InstanceClusterNode(InstanceClusterNode source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getConnected()
Get 服务状态:0-down;1-on
|
String |
getCreateTime()
Get 节点创建时间
|
String |
getDownTime()
Get 节点下线时间
|
Long |
getKeys()
Get 节点key分布
|
String |
getName()
Get 节点名称
|
Long |
getQps()
Get 节点qps
|
Float |
getQpsSlope()
Get 节点qps倾斜度
|
Long |
getRole()
Get 集群角色:0-master;1-slave
|
String |
getRunId()
Get 实例运行时节点Id
|
String |
getSlots()
Get 节点slot分布
|
Long |
getStatus()
Get 节点状态:0-readwrite, 1-read, 2-backup
|
Long |
getStorage()
Get 节点存储
|
Float |
getStorageSlope()
Get 节点存储倾斜度
|
void |
setConnected(Long Connected)
Set 服务状态:0-down;1-on
|
void |
setCreateTime(String CreateTime)
Set 节点创建时间
|
void |
setDownTime(String DownTime)
Set 节点下线时间
|
void |
setKeys(Long Keys)
Set 节点key分布
|
void |
setName(String Name)
Set 节点名称
|
void |
setQps(Long Qps)
Set 节点qps
|
void |
setQpsSlope(Float QpsSlope)
Set 节点qps倾斜度
|
void |
setRole(Long Role)
Set 集群角色:0-master;1-slave
|
void |
setRunId(String RunId)
Set 实例运行时节点Id
|
void |
setSlots(String Slots)
Set 节点slot分布
|
void |
setStatus(Long Status)
Set 节点状态:0-readwrite, 1-read, 2-backup
|
void |
setStorage(Long Storage)
Set 节点存储
|
void |
setStorageSlope(Float StorageSlope)
Set 节点存储倾斜度
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public InstanceClusterNode()
public InstanceClusterNode(InstanceClusterNode source)
public String getName()
public void setName(String Name)
Name
- 节点名称public String getRunId()
public void setRunId(String RunId)
RunId
- 实例运行时节点Idpublic Long getRole()
public void setRole(Long Role)
Role
- 集群角色:0-master;1-slavepublic Long getStatus()
public void setStatus(Long Status)
Status
- 节点状态:0-readwrite, 1-read, 2-backuppublic Long getConnected()
public void setConnected(Long Connected)
Connected
- 服务状态:0-down;1-onpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- 节点创建时间public String getDownTime()
public void setDownTime(String DownTime)
DownTime
- 节点下线时间public String getSlots()
public void setSlots(String Slots)
Slots
- 节点slot分布public Long getKeys()
public void setKeys(Long Keys)
Keys
- 节点key分布public Long getQps()
public void setQps(Long Qps)
Qps
- 节点qpspublic Float getQpsSlope()
public void setQpsSlope(Float QpsSlope)
QpsSlope
- 节点qps倾斜度public Long getStorage()
public void setStorage(Long Storage)
Storage
- 节点存储public Float getStorageSlope()
public void setStorageSlope(Float StorageSlope)
StorageSlope
- 节点存储倾斜度Copyright © 2022. All rights reserved.