HttpConnectionMetrics interface.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpTransportMetrics | |
| private final HttpTransportMetrics | |
| private final AtomicLong | |
| private final AtomicLong |
| Access | Constructor and Description |
|---|---|
| public | BasicHttpConnectionMetrics(final HttpTransportMetrics inTransportMetric, final HttpTransportMetrics outTransportMetric)
|
| Modifier and Type | Method and Description |
|---|---|
| public long | getReceivedBytesCount()
Implements org. |
| public long | getRequestCount()
Implements org. |
| public long | getResponseCount()
Implements org. |
| public long | getSentBytesCount()
Implements org. |
| public void | |
| public void |
| inTransportMetric | back to summary |
|---|---|
| private final HttpTransportMetrics inTransportMetric | |
| outTransportMetric | back to summary |
|---|---|
| private final HttpTransportMetrics outTransportMetric | |
| requestCount | back to summary |
|---|---|
| private final AtomicLong requestCount | |
| responseCount | back to summary |
|---|---|
| private final AtomicLong responseCount | |
| BasicHttpConnectionMetrics | back to summary |
|---|---|
| public BasicHttpConnectionMetrics(final HttpTransportMetrics inTransportMetric, final HttpTransportMetrics outTransportMetric) | |
| getReceivedBytesCount | back to summary |
|---|---|
| public long getReceivedBytesCount() Implements org. Doc from org. Gets the number of bytes transferred over the connection, 0 if not available.
| |
| getRequestCount | back to summary |
|---|---|
| public long getRequestCount() Implements org. Doc from org. Gets the number of requests transferred over the connection, 0 if not available.
| |
| getResponseCount | back to summary |
|---|---|
| public long getResponseCount() Implements org. Doc from org. Gets the number of responses transferred over the connection, 0 if not available.
| |
| getSentBytesCount | back to summary |
|---|---|
| public long getSentBytesCount() Implements org. Doc from org. Gets 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() | |