-
- Enclosing interface:
- HttpClientContext
public static interface HttpClientContext.Metrics
Statistic metrics collected to provide an overview of activity of this client.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
avgMicros()
Return the average response time in microseconds.long
errorCount()
Return the total number of error responses (status code >= 300).long
maxMicros()
Return the max response time in microseconds (since the last reset).long
responseBytes()
Return the total response bytes (excludes streaming responses).long
totalCount()
Return the total number of responses.long
totalMicros()
Return the total response time in microseconds.
-
-
-
Method Detail
-
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.
-
-