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:
Applies to
Azure SDK for Java