Package org.apache.storm.metric

# Class IEventLogger.EventInfo

java.lang.Object
org.apache.storm.metric.IEventLogger.EventInfo

Enclosing interface:
  IEventLogger

public static class IEventLogger.EventInfo extends Object
A wrapper for the fields that we would log.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EventInfo(long ts, String component, int task, Object messageId, List<Object> values)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getComponent()`
  `Object`
  `getMessageId()`
  `int`
  `getTask()`
  `long`
  `getTs()`
  `List<Object>`
  `getValues()`
  `String`
  `toString()`
  Returns a default formatted string with fields separated by ",".

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

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

- ## Constructor Details

  - ### EventInfo

    public EventInfo(long ts, String component, int task, Object messageId, List<Object> values)

- ## Method Details

  - ### getTs

    public long getTs()

  - ### getComponent

    public String getComponent()

  - ### getTask

    public int getTask()

  - ### getMessageId

    public Object getMessageId()

  - ### getValues

    public List<Object> getValues()

  - ### toString

    public String toString()
    Returns a default formatted string with fields separated by ",".
    Overrides:
      `toString` in class `Object`
    Returns:
      a default formatted string with fields separated by ","