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 Summary
ConstructorsConstructorDescriptionTimelinePublishEvent(AbstractSystemMetricsPublisher.SystemMetricsEventType type, org.apache.hadoop.yarn.api.records.ApplicationId appId) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.hadoop.yarn.api.records.ApplicationIdinthashCode()Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent
getTimestamp, getType, toString
-
Constructor Details
-
TimelinePublishEvent
public TimelinePublishEvent(AbstractSystemMetricsPublisher.SystemMetricsEventType type, org.apache.hadoop.yarn.api.records.ApplicationId appId)
-
-
Method Details