HttpConnectionMetrics interface.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpTransportMetrics | |
| private Map | metricsCache
The cache map for all metrics values. |
| private final HttpTransportMetrics | |
| public static final String | |
| public static final String | |
| private long | |
| public static final String | |
| private long | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | HttpConnectionMetricsImpl(final HttpTransportMetrics inTransportMetric, final HttpTransportMetrics outTransportMetric)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | getMetric(final String
the name of the metric to query. metricName)Implements org. |
| public long | getReceivedBytesCount()
Implements org. |
| public long | getRequestCount()
Implements org. |
| public long | getResponseCount()
Implements org. |
| public long | getSentBytesCount()
Implements org. |
| public void | |
| public void | |
| public void | |
| public void |
| inTransportMetric | back to summary |
|---|---|
| private final HttpTransportMetrics inTransportMetric | |
| metricsCache | back to summary |
|---|---|
| private Map<String, Object> metricsCache The cache map for all metrics values. | |
| outTransportMetric | back to summary |
|---|---|
| private final HttpTransportMetrics outTransportMetric | |
| RECEIVED_BYTES_COUNT | back to summary |
|---|---|
| public static final String RECEIVED_BYTES_COUNT | |
| REQUEST_COUNT | back to summary |
|---|---|
| public static final String REQUEST_COUNT | |
| requestCount | back to summary |
|---|---|
| private long requestCount | |
| RESPONSE_COUNT | back to summary |
|---|---|
| public static final String RESPONSE_COUNT | |
| responseCount | back to summary |
|---|---|
| private long responseCount | |
| SENT_BYTES_COUNT | back to summary |
|---|---|
| public static final String SENT_BYTES_COUNT | |
| HttpConnectionMetricsImpl | back to summary |
|---|---|
| public HttpConnectionMetricsImpl(final HttpTransportMetrics inTransportMetric, final HttpTransportMetrics outTransportMetric) | |
| getMetric | back to summary |
|---|---|
| public Object getMetric(final String metricName) Implements org. Doc from org. Return the value for the specified metric. | |
| getReceivedBytesCount | back to summary |
|---|---|
| public long getReceivedBytesCount() Implements org. Doc from org. Returns the number of bytes transferred over the connection, 0 if not available.
| |
| getRequestCount | back to summary |
|---|---|
| public long getRequestCount() Implements org. Doc from org. Returns the number of requests transferred over the connection, 0 if not available.
| |
| getResponseCount | back to summary |
|---|---|
| public long getResponseCount() Implements org. Doc from org. Returns the number of responses transferred over the connection, 0 if not available.
| |
| getSentBytesCount | back to summary |
|---|---|
| public long getSentBytesCount() Implements org. Doc from org. Returns the number of bytes transferred over the connection, 0 if not available.
| |
| incrementRequestCount | back to summary |
|---|---|
| public void incrementRequestCount() | |
| incrementResponseCount | back to summary |
|---|---|
| public void incrementResponseCount() | |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. Resets the counts
| |
| setMetric | back to summary |
|---|---|
| public void setMetric(final String metricName, final Object obj) | |