public class ReplicaGroup extends AbstractModel
| Constructor and Description |
|---|
ReplicaGroup() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getGroupId()
Get 节点组ID
|
String |
getGroupName()
Get 节点组的名称,主节点为空
|
RedisNode[] |
getRedisNodes()
Get 节点组节点列表
|
String |
getRole()
Get 节点组类型,master为主节点,replica为副本节点
|
String |
getZoneId()
Get 节点的可用区ID,比如ap-guangzhou-1
|
void |
setGroupId(Long GroupId)
Set 节点组ID
|
void |
setGroupName(String GroupName)
Set 节点组的名称,主节点为空
|
void |
setRedisNodes(RedisNode[] RedisNodes)
Set 节点组节点列表
|
void |
setRole(String Role)
Set 节点组类型,master为主节点,replica为副本节点
|
void |
setZoneId(String ZoneId)
Set 节点的可用区ID,比如ap-guangzhou-1
|
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 Long getGroupId()
public void setGroupId(Long GroupId)
GroupId - 节点组IDpublic String getGroupName()
public void setGroupName(String GroupName)
GroupName - 节点组的名称,主节点为空public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId - 节点的可用区ID,比如ap-guangzhou-1public String getRole()
public void setRole(String Role)
Role - 节点组类型,master为主节点,replica为副本节点public RedisNode[] getRedisNodes()
public void setRedisNodes(RedisNode[] RedisNodes)
RedisNodes - 节点组节点列表Copyright © 2021. All rights reserved.