ResolvedServiceEndpoint Class

  • java.lang.Object
    • system.fabric.ResolvedServiceEndpoint

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.

ServiceEndpointRole 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:

The address for the endpoint where the service replica or instance can be reached.

getRole

public ServiceEndpointRole getRole()

Gets the role of a service endpoint.

Returns:

The role of a service endpoint.

toString

public String toString()

Prints role and address of the service endpoint.

Applies to