Package io.grpc.xds
Class ClusterImplLoadBalancer.OrcaPerRpcListener
java.lang.Object
io.grpc.xds.ClusterImplLoadBalancer.OrcaPerRpcListener
- All Implemented Interfaces:
OrcaPerRequestUtil.OrcaPerRequestReportListener
- Enclosing class:
ClusterImplLoadBalancer
private static final class ClusterImplLoadBalancer.OrcaPerRpcListener
extends Object
implements OrcaPerRequestUtil.OrcaPerRequestReportListener
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate -
Method Summary
Modifier and TypeMethodDescriptionvoidonLoadReport(io.grpc.services.MetricReport report) CopiesMetricReport.getNamedMetrics()toLoadStatsManager2.ClusterLocalityStatssuch that it is included in the snapshot for the LRS report sent to the LRS server.
-
Field Details
-
stats
-
-
Constructor Details
-
OrcaPerRpcListener
-
-
Method Details
-
onLoadReport
public void onLoadReport(io.grpc.services.MetricReport report) CopiesMetricReport.getNamedMetrics()toLoadStatsManager2.ClusterLocalityStatssuch that it is included in the snapshot for the LRS report sent to the LRS server.- Specified by:
onLoadReportin interfaceOrcaPerRequestUtil.OrcaPerRequestReportListener- Parameters:
report- load report in the format of grpcMetricReport.
-