@NotThreadSafe public class HttpTransportMetricsImpl extends Object implements HttpTransportMetrics
HttpTransportMetrics.| Constructor and Description |
|---|
HttpTransportMetricsImpl() |
| Modifier and Type | Method and Description |
|---|---|
long |
getBytesTransferred()
Returns the number of bytes transferred.
|
void |
incrementBytesTransferred(long count) |
void |
reset()
Resets the counts
|
void |
setBytesTransferred(long count) |
public long getBytesTransferred()
HttpTransportMetricsgetBytesTransferred in interface HttpTransportMetricspublic void setBytesTransferred(long count)
public void incrementBytesTransferred(long count)
public void reset()
HttpTransportMetricsreset in interface HttpTransportMetricsCopyright © 2005–2013 The Apache Software Foundation. All rights reserved.