public class NodeInfo extends AbstractModel
Constructor and Description |
---|
NodeInfo() |
Modifier and Type | Method and Description |
---|---|
String |
getNodeId()
Get DB节点ID
|
String |
getRole()
Get DB节点角色,取值为master或者slave
|
void |
setNodeId(String NodeId)
Set DB节点ID
|
void |
setRole(String Role)
Set DB节点角色,取值为master或者slave
|
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 String getNodeId()
public void setNodeId(String NodeId)
NodeId
- DB节点IDpublic String getRole()
public void setRole(String Role)
Role
- DB节点角色,取值为master或者slaveCopyright © 2021. All rights reserved.