Top Description Fields Constructors Methods
org.apache.hc.core5.http.impl

public Class BasicHttpTransportMetrics

extends Object
implements HttpTransportMetrics
Class Inheritance
All Implemented Interfaces
org.apache.hc.core5.http.io.HttpTransportMetrics
Imports
java.util.concurrent.atomic.AtomicLong, org.apache.hc.core5.http.io.HttpTransportMetrics

Default implementation of HttpTransportMetrics.
Since
4.0

Field Summary

Modifier and TypeField and Description
private final AtomicLong

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public long
public void
incrementBytesTransferred(final long count)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bytesTransferredback to summary
private final AtomicLong bytesTransferred

Constructor Detail

BasicHttpTransportMetricsback to summary
public BasicHttpTransportMetrics()

Method Detail

getBytesTransferredback to summary
public long getBytesTransferred()

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

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

Returns the number of bytes transferred.

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