Top Description Fields Constructors Methods
org.apache.http.impl.io

public Class HttpTransportMetricsImpl

extends Object
implements HttpTransportMetrics
Class Inheritance
All Implemented Interfaces
org.apache.http.io.HttpTransportMetrics
Imports
org.apache.http.io.HttpTransportMetrics

Default implementation of HttpTransportMetrics.
Since
4.0

Field Summary

Modifier and TypeField and Description
private long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public long
getBytesTransferred()

Implements org.apache.http.io.HttpTransportMetrics.getBytesTransferred.

Returns the number of bytes transferred.
public void
incrementBytesTransferred(final long count)

public void
public void
setBytesTransferred(final long count)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bytesTransferredback to summary
private long bytesTransferred

Constructor Detail

HttpTransportMetricsImplback to summary
public HttpTransportMetricsImpl()

Method Detail

getBytesTransferredback to summary
public long getBytesTransferred()

Implements org.apache.http.io.HttpTransportMetrics.getBytesTransferred.

Doc from org.apache.http.io.HttpTransportMetrics.getBytesTransferred.

Returns the number of bytes transferred.

Annotations
@Override
incrementBytesTransferredback to summary
public void incrementBytesTransferred(final long count)
resetback to summary
public void reset()

Implements org.apache.http.io.HttpTransportMetrics.reset.

Doc from org.apache.http.io.HttpTransportMetrics.reset.

Resets the counts

Annotations
@Override
setBytesTransferredback to summary
public void setBytesTransferred(final long count)