你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ResolvedServiceEndpoint Class
- java.
lang. Object - system.
fabric. ResolvedServiceEndpoint
- system.
public class ResolvedServiceEndpoint
Represents a resolved service endpoint, which contains information about service partition replica role and the address it listens to.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Gets the address for the endpoint. The service replica gives this string to Service Fabric to let users know where it can be reached. |
Service |
getRole()
Gets the role of a service endpoint. |
String |
toString()
Prints role and address of the service endpoint. |
Method Details
getAddress
public String getAddress()
Gets the address for the endpoint. The service replica gives this string to Service Fabric to let users know where it can be reached.
Returns:
getRole
public ServiceEndpointRole getRole()
Gets the role of a service endpoint.
Returns:
toString
public String toString()
Prints role and address of the service endpoint.