@NotThreadSafe public class HttpTransportMetricsImpl extends java.lang.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()
HttpTransportMetrics
getBytesTransferred
in interface HttpTransportMetrics
public void setBytesTransferred(long count)
public void incrementBytesTransferred(long count)
public void reset()
HttpTransportMetrics
reset
in interface HttpTransportMetrics