Package io.grpc.xds.orca
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrcaOobUtil.OrcaReportingConfig
build()
Creates a newOrcaOobUtil.OrcaReportingConfig
object.OrcaOobUtil.OrcaReportingConfig.Builder
setReportInterval(long reportInterval, TimeUnit unit)
Sets the maximum expected interval of receiving out-of-band ORCA report.
-
-
-
Method Detail
-
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 ofreportInterval
value.
-
build
public OrcaOobUtil.OrcaReportingConfig build()
Creates a newOrcaOobUtil.OrcaReportingConfig
object.
-
-