Class LoadReportClient

java.lang.Object
io.grpc.xds.client.LoadReportClient

@Internal public final class LoadReportClient extends Object
Client of xDS load reporting service based on LRS protocol, which reports load stats of gRPC client's perspective to a management server.
  • Field Details

  • Constructor Details

  • Method Details

    • lrsStreamIsNull

      public boolean lrsStreamIsNull()
    • startLoadReporting

      public void startLoadReporting()
      Establishes load reporting communication and negotiates with traffic director to report load stats periodically. Calling this method on an already started LoadReportClient is no-op.
    • stopLoadReporting

      public void stopLoadReporting()
      Terminates load reporting. Calling this method on an already stopped LoadReportClient is no-op.