public interface RequestMetrics
If a request retries, there will be multiple calls to all methods below. Ignore any endRequest after the first one. For example:
The following metrics can be computed: Total queries, successful queries, total latency, network latency
| Modifier and Type | Method and Description |
|---|---|
void |
endNetwork() |
void |
endRequest(java.lang.Exception exception,
int httpStatusCode,
long retryCount) |
void |
startNetwork() |