public interface HttpServerStats
Modifier and Type | Method and Description |
---|---|
float |
getAverageRequestTime()
Return the average processing time in milliseconds.
|
long |
getErrorCount()
Return the number of requests that caused errors.
|
long |
getHttpStatusCount(int nPrefix)
Return the count of Http status codes with the given prefix.
|
long |
getRequestCount()
Return the number of requests serviced since the HTTP server was started or the statistics were reset.
|
float |
getRequestsPerSecond()
Return the number of requests per second since the statistics were reset.
|
void |
resetStats()
Reset the statistics.
|
long getRequestCount()
float getAverageRequestTime()
float getRequestsPerSecond()
long getErrorCount()
long getHttpStatusCount(int nPrefix)
nPrefix
- the prefix to return count forvoid resetStats()