Node.NodeStatus, Node.NodeType| 构造器和说明 |
|---|
DataNode(URL nodeUrl,
String dataCenter)
constructor
|
DataNode(URL nodeUrl,
String dataCenter,
Node.NodeStatus status)
constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
String |
getDataCenter()
Getter method for property dataCenter.
|
String |
getIp()
get ip address for nodeUrl
|
String |
getNodeName()
Getter method for property nodeName.
|
Node.NodeStatus |
getNodeStatus()
Getter method for property nodeStatus.
|
Node.NodeType |
getNodeType()
get node type
|
URL |
getNodeUrl()
get node url
|
String |
getRegionId()
Getter method for property regionId.
|
long |
getRegistrationTimestamp()
Getter method for property registrationTimestamp.
|
int |
hashCode()
Hash code int.
|
void |
setNodeStatus(Node.NodeStatus nodeStatus)
Setter method for property nodeStatus.
|
void |
setRegionId(String regionId)
Setter method for property regionId.
|
void |
setRegistrationTimestamp(long registrationTimestamp)
Setter method for property registrationTimestamp.
|
String |
toString() |
public DataNode(URL nodeUrl, String dataCenter, Node.NodeStatus status)
nodeUrl - dataCenter - status - public Node.NodeType getNodeType()
NodegetNodeType 在接口中 Nodepublic URL getNodeUrl()
NodegetNodeUrl 在接口中 Nodepublic String getIp()
public String getNodeName()
getNodeName 在接口中 HashNodepublic String getRegionId()
public void setRegionId(String regionId)
regionId - value to be assigned to property regionIdpublic String getDataCenter()
public Node.NodeStatus getNodeStatus()
getNodeStatus 在接口中 Nodepublic void setNodeStatus(Node.NodeStatus nodeStatus)
setNodeStatus 在接口中 NodenodeStatus - value to be assigned to property nodeStatuspublic long getRegistrationTimestamp()
public void setRegistrationTimestamp(long registrationTimestamp)
registrationTimestamp - value to be assigned to property registrationTimestampCopyright © 2019 The Ant Financial. All rights reserved.