public abstract class AbstractNode extends Object implements Node
Node.NodeType| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
dataCenter |
protected String |
nodeName |
protected URL |
nodeUrl |
protected String |
regionId |
| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractNode(String dataCenter,
URL nodeUrl,
String regionId) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
equal(AbstractNode node) |
String |
getAddressString() |
String |
getDataCenter() |
String |
getIp() |
String |
getNodeName() |
URL |
getNodeUrl()
get node url
|
String |
getRegionId() |
protected int |
hash() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeTypeprotected final URL nodeUrl
protected final String regionId
protected final String dataCenter
protected final String nodeName
public String getIp()
public URL getNodeUrl()
NodegetNodeUrl 在接口中 Nodepublic String getRegionId()
public String getNodeName()
public String getDataCenter()
public String getAddressString()
protected boolean equal(AbstractNode node)
protected int hash()
Copyright © 2023 The Ant Financial. All rights reserved.