| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HttpConnectionMetrics
The point of access to the statistics of an HttpConnection.
| Method Summary | |
|---|---|
|  Object | getMetric(String metricName)Return the value for the specified metric. | 
|  long | getReceivedBytesCount()Returns the number of bytes transferred over the connection, 0 if not available. | 
|  long | getRequestCount()Returns the number of requests transferred over the connection, 0 if not available. | 
|  long | getResponseCount()Returns the number of responses transferred over the connection, 0 if not available. | 
|  long | getSentBytesCount()Returns the number of bytes transferred over the connection, 0 if not available. | 
|  void | reset()Resets the counts | 
| Method Detail | 
|---|
long getRequestCount()
long getResponseCount()
long getSentBytesCount()
long getReceivedBytesCount()
Object getMetric(String metricName)
metricName - the name of the metric to query.
null if the metric cannot not found.void reset()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||