Package io.grpc.xds.orca
Interface OrcaOobUtil.OrcaOobReportListener
-
- Enclosing class:
- OrcaOobUtil
public static interface OrcaOobUtil.OrcaOobReportListener
The listener interface for receiving out-of-band ORCA reports from backends. The class that is interested in processing backend cost metrics implements this interface, and the object created with that class is registered with a component, using methods inOrcaPerRequestUtil
. When an ORCA report is received, that object'sonLoadReport
method is invoked.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onLoadReport(MetricReport report)
Invoked when an out-of-band ORCA report is received.
-
-
-
Method Detail
-
onLoadReport
void onLoadReport(MetricReport report)
Invoked when an out-of-band ORCA report is received.Note this callback will be invoked from the
SynchronizationContext
of the delegated helper, implementations should not block.- Parameters:
report
- load report in the format of grpcMetricReport
.
-
-