com.h3c.of.lib.mp

## Class MBodyGroupStats.BucketCounter

- java.lang.Object
- - com.h3c.of.lib.mp.MBodyGroupStats.BucketCounter

- Enclosing class:
    MBodyGroupStats

      public static class MBodyGroupStats.BucketCounter
      extends Object

  Represents a bucket counter element; part of group-stats reply multipart message; Since 1.1.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getByteCount()` Returns the number of bytes processed by this bucket; Since 1.1.
    `long` | `getPacketCount()` Returns the number of packets processed by this bucket; Since 1.1.
    `String` | `toDebugString()` Returns a string representation useful for debugging.
    `String` | `toDebugString(int indent)` Returns a multi-line representation of this bucket counter object.
    `String` | `toString()`

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

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

- - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### toDebugString

          public String toDebugString()

      Returns a string representation useful for debugging.
      Returns:
        a (possibly multi-line) string representation of this element

    - #### toDebugString

          public String toDebugString(int indent)

      Returns a multi-line representation of this bucket counter object.
      Parameters:
        `indent` - the additional indent (number of spaces)
      Returns:
        a multi-line representation

    - #### getPacketCount

          public long getPacketCount()

      Returns the number of packets processed by this bucket; Since 1.1.
      Returns:
        the number of packets processed by this bucket

    - #### getByteCount

          public long getByteCount()

      Returns the number of bytes processed by this bucket; Since 1.1.
      Returns:
        the number of bytes processed by this bucket

Copyright © 2014. All Rights Reserved.