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 of `H2TransportMetrics`.
  Since:
    5.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BasicH2TransportMetrics()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and 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`

- - ### Constructor Detail

    - #### BasicH2TransportMetrics

          public BasicH2TransportMetrics()

  - ### Method Detail

    - #### getFramesTransferred

          public long getFramesTransferred()

      Specified by:
        `getFramesTransferred` in interface `H2TransportMetrics`

    - #### incrementFramesTransferred

          public void incrementFramesTransferred()

Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.