com.h3c.of.lib.msg

## Class QPropRate

- java.lang.Object
- - com.h3c.of.lib.msg.QueueProperty
  - - com.h3c.of.lib.msg.QPropRate

- Direct Known Subclasses:
    QPropMaxRate, QPropMinRate

      public abstract class QPropRate
      extends QueueProperty

  Abstract superclass of the `QPropMinRate` and `QPropMaxRate` properties.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getRate()` Returns the rate of this property, in 1/10 of a percent.
    `boolean` | `isDisabled()` Returns true if this rate property designates "disabled".
    `String` | `toString()`

    - ### Methods inherited from class com.h3c.of.lib.msg.QueueProperty

      `getType`

    - ### 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 `QueueProperty`

    - #### isDisabled

          public boolean isDisabled()

      Returns true if this rate property designates "disabled".
      Returns:
        true, if this rate property is disabled

    - #### getRate

          public int getRate()

      Returns the rate of this property, in 1/10 of a percent. Values above 1000 indicate "disabled".
      Returns:
        the rate

Copyright © 2014. All Rights Reserved.