public class RedisNode extends AbstractModel
header, skipSign
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 Redis 节点上 Key 的个数。
|
String |
getNodeId()
Get 节点的序列 ID。
|
String |
getRole()
Get 节点角色。
|
String |
getSlot()
Get Redis 节点 Slot 分布范围。例如:0-5460。
|
String |
getStatus()
Get 节点的状态。
|
void |
setKeys(Long Keys)
Set Redis 节点上 Key 的个数。
|
void |
setNodeId(String NodeId)
Set 节点的序列 ID。
|
void |
setRole(String Role)
Set 节点角色。
|
void |
setSlot(String Slot)
Set Redis 节点 Slot 分布范围。例如:0-5460。
|
void |
setStatus(String Status)
Set 节点的状态。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RedisNode()
public RedisNode(RedisNode source)
public Long getKeys()
public void setKeys(Long Keys)
Keys
- Redis 节点上 Key 的个数。public String getSlot()
public void setSlot(String Slot)
Slot
- Redis 节点 Slot 分布范围。例如:0-5460。public String getNodeId()
public void setNodeId(String NodeId)
NodeId
- 节点的序列 ID。public String getStatus()
public void setStatus(String Status)
Status
- 节点的状态。public String getRole()
public void setRole(String Role)
Role
- 节点角色。Copyright © 2024. All rights reserved.