Package io.grpc.xds

Class Endpoints.LbEndpoint

  • Direct Known Subclasses:
    AutoValue_Endpoints_LbEndpoint
    Enclosing class:
    Endpoints

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

      Constructors 
      Constructor Description
      LbEndpoint()  
    • Constructor Detail

      • LbEndpoint

        LbEndpoint()
    • Method Detail

      • 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​(java.lang.String address,
                                           int port,
                                           int loadBalancingWeight,
                                           boolean isHealthy)