Class AbstractSystemMetricsPublisher.TimelinePublishEvent

java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<AbstractSystemMetricsPublisher.SystemMetricsEventType>
org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractSystemMetricsPublisher.TimelinePublishEvent
All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<AbstractSystemMetricsPublisher.SystemMetricsEventType>
Enclosing class:
AbstractSystemMetricsPublisher

protected abstract static class AbstractSystemMetricsPublisher.TimelinePublishEvent extends org.apache.hadoop.yarn.event.AbstractEvent<AbstractSystemMetricsPublisher.SystemMetricsEventType>
TimelinePublishEvent's hash code should be based on application's id this will ensure all the events related to a particular app goes to particular thread of MultiThreaded dispatcher.
  • Constructor Details

  • Method Details

    • getApplicationId

      public org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object