com.h3c.of.lib.mp

## Class MBodyMeterStats.MeterBandStats

- java.lang.Object
- - com.h3c.of.lib.mp.MBodyMeterStats.MeterBandStats

- Enclosing class:
    MBodyMeterStats

      public static class MBodyMeterStats.MeterBandStats
      extends Object

  Represents statistics associated with a given meter band.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MBodyMeterStats.MeterBandStats(long pktBandCnt, long byteBandCnt)` Constructs a meter band statistic; Since 1.3.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getByteBandCount()` Returns the number of bytes in the band; Since 1.3.
    `long` | `getPacketBandCount()` Returns the number of packets in the band; Since 1.3.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### MBodyMeterStats.MeterBandStats

          public MBodyMeterStats.MeterBandStats(long pktBandCnt,
                                        long byteBandCnt)

      Constructs a meter band statistic; Since 1.3.
      Parameters:
        `pktBandCnt` - the packet count
        `byteBandCnt` - the byte count

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### getPacketBandCount

          public long getPacketBandCount()

      Returns the number of packets in the band; Since 1.3.
      Returns:
        the packet count

    - #### getByteBandCount

          public long getByteBandCount()

      Returns the number of bytes in the band; Since 1.3.
      Returns:
        the byte count

Copyright © 2014. All Rights Reserved.