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