public class RedisNode extends AbstractModel
Constructor and Description |
---|
RedisNode() |
RedisNode(RedisNode 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 |
getKeys()
Get 节点key的个数
|
String |
getNodeId()
Get 节点的序列ID
|
String |
getRole()
Get 节点角色
|
String |
getSlot()
Get 节点slot分布
|
String |
getStatus()
Get 节点的状态
|
void |
setKeys(Long Keys)
Set 节点key的个数
|
void |
setNodeId(String NodeId)
Set 节点的序列ID
|
void |
setRole(String Role)
Set 节点角色
|
void |
setSlot(String Slot)
Set 节点slot分布
|
void |
setStatus(String Status)
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 RedisNode()
public RedisNode(RedisNode source)
public Long getKeys()
public void setKeys(Long Keys)
Keys
- 节点key的个数public String getSlot()
public void setSlot(String Slot)
Slot
- 节点slot分布public String getNodeId()
public void setNodeId(String NodeId)
NodeId
- 节点的序列IDpublic String getStatus()
public void setStatus(String Status)
Status
- 节点的状态public String getRole()
public void setRole(String Role)
Role
- 节点角色Copyright © 2021. All rights reserved.