Class OrcaOobUtil.OrcaReportingConfig.Builder

java.lang.Object
io.grpc.xds.orca.OrcaOobUtil.OrcaReportingConfig.Builder
Enclosing class:
OrcaOobUtil.OrcaReportingConfig

public static final class OrcaOobUtil.OrcaReportingConfig.Builder extends Object
  • Field Details

    • reportIntervalNanos

      private long reportIntervalNanos
  • Constructor Details

    • Builder

      Builder()
  • Method Details

    • setReportInterval

      public OrcaOobUtil.OrcaReportingConfig.Builder setReportInterval(long reportInterval, TimeUnit unit)
      Sets the maximum expected interval of receiving out-of-band ORCA report. The actual reporting interval might be smaller if there are other load balancing policies requesting for more frequent cost metric report.
      Parameters:
      reportInterval - the maximum expected interval of receiving periodical ORCA reports.
      unit - time unit of reportInterval value.
    • build

      Creates a new OrcaOobUtil.OrcaReportingConfig object.