Package org.apache.storm.metric.api

## Class IMetricsConsumer.DataPoint

- java.lang.Object
- - org.apache.storm.metric.api.IMetricsConsumer.DataPoint

- Enclosing interface:
    IMetricsConsumer

      public static class IMetricsConsumer.DataPoint
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `Map<String,​String>` | `dimensions` |
    `String` | `name` |
    `Object` | `value` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DataPoint()` |
    `DataPoint​(String name, Object value)` |
    `DataPoint​(String name, Object value, Map<String,​String> dimensions)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `equals​(Object o)` |
    `int` | `hashCode()` |
    `String` | `toString()` |

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

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

- - ### Field Detail

    - #### name

          public String name

    - #### value

          public Object value

    - #### dimensions

          public Map<String,​String> dimensions

  - ### Constructor Detail

    - #### DataPoint

          public DataPoint()

    - #### DataPoint

          public DataPoint​(String name,
                           Object value)

    - #### DataPoint

          public DataPoint​(String name,
                           Object value,
                           Map<String,​String> dimensions)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals​(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`