Class Stats.BackendLoadMetricStats
java.lang.Object
io.grpc.xds.client.Stats.BackendLoadMetricStats
- Enclosing class:
Stats
Load metric stats for multi-dimensional load balancing.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetricValueAndIncrementRequestsFinished(double metricValue) Adds the givenmetricValueand increments the number of requests finished counter for the existingStats.BackendLoadMetricStats.longdouble
-
Method Details
-
numRequestsFinishedWithMetric
public long numRequestsFinishedWithMetric() -
totalMetricValue
public double totalMetricValue() -
addMetricValueAndIncrementRequestsFinished
public void addMetricValueAndIncrementRequestsFinished(double metricValue) Adds the givenmetricValueand increments the number of requests finished counter for the existingStats.BackendLoadMetricStats.
-