public class RedisNodes extends AbstractModel
Constructor and Description |
---|
RedisNodes() |
RedisNodes(RedisNodes 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 |
getClusterId()
Get 分片ID
|
String |
getNodeId()
Get 节点ID
|
String |
getNodeRole()
Get 节点角色
|
Long |
getZoneId()
Get 可用区ID
|
void |
setClusterId(Long ClusterId)
Set 分片ID
|
void |
setNodeId(String NodeId)
Set 节点ID
|
void |
setNodeRole(String NodeRole)
Set 节点角色
|
void |
setZoneId(Long ZoneId)
Set 可用区ID
|
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 RedisNodes()
public RedisNodes(RedisNodes source)
public String getNodeId()
public void setNodeId(String NodeId)
NodeId
- 节点IDpublic String getNodeRole()
public void setNodeRole(String NodeRole)
NodeRole
- 节点角色public Long getClusterId()
public void setClusterId(Long ClusterId)
ClusterId
- 分片IDpublic Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- 可用区IDCopyright © 2022. All rights reserved.