public class InstanceClusterShard extends AbstractModel
| Constructor and Description |
|---|
InstanceClusterShard() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getConnected()
Get 服务状态:0-down;1-on
|
Long |
getKeys()
Get Key数量
|
Long |
getRole()
Get 角色
|
String |
getRunid()
Get 实例运行时节点Id
|
String |
getShardId()
Get 分片节点Id
|
String |
getShardName()
Get 分片节点名称
|
String |
getSlots()
Get slot信息
|
Long |
getStorage()
Get 使用容量
|
Float |
getStorageSlope()
Get 容量倾斜率
|
void |
setConnected(Long Connected)
Set 服务状态:0-down;1-on
|
void |
setKeys(Long Keys)
Set Key数量
|
void |
setRole(Long Role)
Set 角色
|
void |
setRunid(String Runid)
Set 实例运行时节点Id
|
void |
setShardId(String ShardId)
Set 分片节点Id
|
void |
setShardName(String ShardName)
Set 分片节点名称
|
void |
setSlots(String Slots)
Set slot信息
|
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, toJsonStringpublic String getShardName()
public void setShardName(String ShardName)
ShardName - 分片节点名称public String getShardId()
public void setShardId(String ShardId)
ShardId - 分片节点Idpublic Long getRole()
public void setRole(Long Role)
Role - 角色public Long getKeys()
public void setKeys(Long Keys)
Keys - Key数量public String getSlots()
public void setSlots(String Slots)
Slots - slot信息public Long getStorage()
public void setStorage(Long Storage)
Storage - 使用容量public Float getStorageSlope()
public void setStorageSlope(Float StorageSlope)
StorageSlope - 容量倾斜率public String getRunid()
public void setRunid(String Runid)
Runid - 实例运行时节点Idpublic Long getConnected()
public void setConnected(Long Connected)
Connected - 服务状态:0-down;1-onCopyright © 2020. All rights reserved.