Package org.apache.hc.core5.http2.impl
Class BasicH2TransportMetrics
- java.lang.Object
-
- org.apache.hc.core5.http.impl.BasicHttpTransportMetrics
-
- org.apache.hc.core5.http2.impl.BasicH2TransportMetrics
-
- All Implemented Interfaces:
HttpTransportMetrics
,H2TransportMetrics
public class BasicH2TransportMetrics extends BasicHttpTransportMetrics implements H2TransportMetrics
Default implementation ofH2TransportMetrics
.- Since:
- 5.0
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.atomic.AtomicLong
framesTransferred
-
Constructor Summary
Constructors Constructor Description BasicH2TransportMetrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getFramesTransferred()
void
incrementFramesTransferred()
-
Methods inherited from class org.apache.hc.core5.http.impl.BasicHttpTransportMetrics
getBytesTransferred, incrementBytesTransferred
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.hc.core5.http.io.HttpTransportMetrics
getBytesTransferred
-
-
-
-
Method Detail
-
getFramesTransferred
public long getFramesTransferred()
- Specified by:
getFramesTransferred
in interfaceH2TransportMetrics
-
incrementFramesTransferred
public void incrementFramesTransferred()
-
-