Package io.grpc.xds

Class Endpoints.LbEndpoint

java.lang.Object
io.grpc.xds.Endpoints.LbEndpoint
Direct Known Subclasses:
AutoValue_Endpoints_LbEndpoint
Enclosing class:
Endpoints

abstract static class Endpoints.LbEndpoint extends Object
Represents a single endpoint to be load balanced.
  • Constructor Details

    • LbEndpoint

      LbEndpoint()
  • Method Details

    • eag

      abstract io.grpc.EquivalentAddressGroup eag()
    • loadBalancingWeight

      abstract int loadBalancingWeight()
    • isHealthy

      abstract boolean isHealthy()
    • create

      static Endpoints.LbEndpoint create(io.grpc.EquivalentAddressGroup eag, int loadBalancingWeight, boolean isHealthy)
    • create

      static Endpoints.LbEndpoint create(String address, int port, int loadBalancingWeight, boolean isHealthy)