- Enclosing interface:
HttpClient
public static interface HttpClient.Metrics
Statistic metrics collected to provide an overview of activity of this client.
-
Method Summary
Modifier and TypeMethodDescriptionlong
Return the average response time in microseconds.long
Return the total number of error responses (status code >= 300).long
Return the max response time in microseconds (since the last reset).long
Return the total response bytes (excludes streaming responses).long
Return the total number of responses.long
Return 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.
-