Package org.apache.storm.metric.api

## Class IMetricsConsumer.TaskInfo

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

- Enclosing interface:
    IMetricsConsumer

      public static class IMetricsConsumer.TaskInfo
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `String` | `srcComponentId` |
    `int` | `srcTaskId` |
    `String` | `srcWorkerHost` |
    `int` | `srcWorkerPort` |
    `long` | `timestamp` |
    `int` | `updateIntervalSecs` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TaskInfo()` |
    `TaskInfo​(String srcWorkerHost, int srcWorkerPort, String srcComponentId, int srcTaskId, long timestamp, int updateIntervalSecs)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `toString()` |

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

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

- - ### Field Detail

    - #### srcWorkerHost

          public String srcWorkerHost

    - #### srcWorkerPort

          public int srcWorkerPort

    - #### srcComponentId

          public String srcComponentId

    - #### srcTaskId

          public int srcTaskId

    - #### timestamp

          public long timestamp

    - #### updateIntervalSecs

          public int updateIntervalSecs

  - ### Constructor Detail

    - #### TaskInfo

          public TaskInfo()

    - #### TaskInfo

          public TaskInfo​(String srcWorkerHost,
                          int srcWorkerPort,
                          String srcComponentId,
                          int srcTaskId,
                          long timestamp,
                          int updateIntervalSecs)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`