- Enclosing interface:
HttpClient
public static interface HttpClient.Metrics
Statistic metrics collected to provide an overview of activity of this client.
-
Method Summary
Modifier and TypeMethodDescriptionlongReturn the average response time in microseconds.longReturn the total number of error responses (status code >= 300).longReturn the max response time in microseconds (since the last reset).longReturn the total response bytes (excludes streaming responses).longReturn the total number of responses.longReturn the total response time in microseconds.
-
Method Details
-
totalCount
long totalCount()Return the total number of responses. -
errorCount
long errorCount()Return the total number of error responses (status code >= 300). -
responseBytes
long responseBytes()Return the total response bytes (excludes streaming responses). -
totalMicros
long totalMicros()Return the total response time in microseconds. -
maxMicros
long maxMicros()Return the max response time in microseconds (since the last reset). -
avgMicros
long avgMicros()Return the average response time in microseconds.
-