com.h3c.sdn.metric

## Class MeterMetricValue

- java.lang.Object
- - com.h3c.sdn.metric.MetricValue
  - - com.h3c.sdn.metric.MeterMetricValue

-     public class MeterMetricValue
      extends MetricValue

  Meter metric value object, a data carrier which contains common metric value attributes being retrieved from the metric updates persisted and summarized.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `MeterMetricValue.Builder<T extends MeterMetricValue.Builder<T>>` Builder (mutable) used to create a new value instances.

  - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `MeterMetricValue(MeterMetricValue.Builder<?> builder)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static MeterMetricValue.Builder<?>` | `builder(String uid)`
    `long` | `getExpectedFieldCount()` Gets the expected field count value.
    `double` | `getRate()` Gets the rate value.

    - ### Methods inherited from class com.h3c.sdn.metric.MetricValue

      `getCount, getMillisecondsSpan, getPersistDate, getType, getUid, getUpdateDate`

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

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

- - ### Constructor Detail

    - #### MeterMetricValue

          protected MeterMetricValue(MeterMetricValue.Builder<?> builder)

  - ### Method Detail

    - #### getExpectedFieldCount

          public long getExpectedFieldCount()

      Gets the expected field count value.
      Returns:
        the metric value

    - #### getRate

          public double getRate()

      Gets the rate value.
      Returns:
        the metric rate

    - #### builder

          public static MeterMetricValue.Builder<?> builder(String uid)

Copyright © 2014. All Rights Reserved.