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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin