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 Service status.
|
String |
getCreateTime()
Get Node creation time
|
String |
getDownTime()
Get Node elimination time
|
Long |
getKeys()
Get Distribution of node keys
|
String |
getName()
Get Node name
|
Long |
getQps()
Get Node QPS
|
Float |
getQpsSlope()
Get Node QPS slope
|
Long |
getRole()
Get Cluster role.
|
String |
getRunId()
Get ID of the runtime node of the instance
|
String |
getSlots()
Get Distribution of node slots
|
Long |
getStatus()
Get Node status.
|
Long |
getStorage()
Get Node storage
|
Float |
getStorageSlope()
Get Node storage slope
|
void |
setConnected(Long Connected)
Set Service status.
|
void |
setCreateTime(String CreateTime)
Set Node creation time
|
void |
setDownTime(String DownTime)
Set Node elimination time
|
void |
setKeys(Long Keys)
Set Distribution of node keys
|
void |
setName(String Name)
Set Node name
|
void |
setQps(Long Qps)
Set Node QPS
|
void |
setQpsSlope(Float QpsSlope)
Set Node QPS slope
|
void |
setRole(Long Role)
Set Cluster role.
|
void |
setRunId(String RunId)
Set ID of the runtime node of the instance
|
void |
setSlots(String Slots)
Set Distribution of node slots
|
void |
setStatus(Long Status)
Set Node status.
|
void |
setStorage(Long Storage)
Set Node storage
|
void |
setStorageSlope(Float StorageSlope)
Set Node storage slope
|
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
- Node namepublic String getRunId()
public void setRunId(String RunId)
RunId
- ID of the runtime node of the instancepublic Long getRole()
public void setRole(Long Role)
Role
- Cluster role. 0: master; 1: replicapublic Long getStatus()
public void setStatus(Long Status)
Status
- Node status. 0: readwrite; 1: read; 2: backuppublic Long getConnected()
public void setConnected(Long Connected)
Connected
- Service status. 0: down; 1: onpublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Node creation timepublic String getDownTime()
public void setDownTime(String DownTime)
DownTime
- Node elimination timepublic String getSlots()
public void setSlots(String Slots)
Slots
- Distribution of node slotspublic Long getKeys()
public void setKeys(Long Keys)
Keys
- Distribution of node keyspublic Long getQps()
public void setQps(Long Qps)
Qps
- Node QPSpublic Float getQpsSlope()
public void setQpsSlope(Float QpsSlope)
QpsSlope
- Node QPS slopepublic Long getStorage()
public void setStorage(Long Storage)
Storage
- Node storagepublic Float getStorageSlope()
public void setStorageSlope(Float StorageSlope)
StorageSlope
- Node storage slopeCopyright © 2023. All rights reserved.