public class RedisNodeInfo extends AbstractModel
Constructor and Description |
---|
RedisNodeInfo() |
Modifier and Type | Method and Description |
---|---|
Long |
getNodeId()
Get 主节点或者副本节点的ID,创建时不需要传递此参数。
|
Long |
getNodeType()
Get 节点类型,0 为主节点,1 为副本节点
|
Long |
getZoneId()
Get 主节点或者副本节点的可用区ID
|
void |
setNodeId(Long NodeId)
Set 主节点或者副本节点的ID,创建时不需要传递此参数。
|
void |
setNodeType(Long NodeType)
Set 节点类型,0 为主节点,1 为副本节点
|
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 Long getNodeType()
public void setNodeType(Long NodeType)
NodeType
- 节点类型,0 为主节点,1 为副本节点public Long getZoneId()
public void setZoneId(Long ZoneId)
ZoneId
- 主节点或者副本节点的可用区IDpublic Long getNodeId()
public void setNodeId(Long NodeId)
NodeId
- 主节点或者副本节点的ID,创建时不需要传递此参数。Copyright © 2021. All rights reserved.