你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GatewayInformation Class
- java.
lang. Object - system.
fabric. GatewayInformation
- system.
public class GatewayInformation
Contains information identifying a Service Fabric node in the cluster.
Constructor Summary
Constructor | Description |
---|---|
GatewayInformation(String nodeAddress, NodeId nodeId, BigInteger nodeInstanceId, String nodeName) |
Initializes a new instance of system.fabric.GatewayInformation. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getNodeAddress()
Gets the address that Service Fabric clients use when connecting to this node (as specified in the Cluster Manifest). |
Node |
getNodeId()
The unique identifier used internally by Service Fabric to identify a node. |
BigInteger |
getNodeInstanceId()
The instance of a Service Fabric node changes when the node is restarted. |
String |
getNodeName()
The friendly name of the Service Fabric node (defined in the Cluster Manifest) used to generate the NodeId. |
Constructor Details
GatewayInformation
public GatewayInformation(String nodeAddress, NodeId nodeId, BigInteger nodeInstanceId, String nodeName)
Initializes a new instance of system.fabric.GatewayInformation.
Parameters:
Method Details
getNodeAddress
public String getNodeAddress()
Gets the address that Service Fabric clients use when connecting to this node (as specified in the Cluster Manifest).
Returns:
getNodeId
public NodeId getNodeId()
The unique identifier used internally by Service Fabric to identify a node.
Returns:
getNodeInstanceId
public BigInteger getNodeInstanceId()
The instance of a Service Fabric node changes when the node is restarted.
Returns:
getNodeName
public String getNodeName()
The friendly name of the Service Fabric node (defined in the Cluster Manifest) used to generate the NodeId.
Returns: