Interface SystemMetricsPublisher

All Known Implementing Classes:
AbstractSystemMetricsPublisher, CombinedSystemMetricsPublisher, NoOpSystemMetricPublisher, TimelineServiceV1Publisher, TimelineServiceV2Publisher

public interface SystemMetricsPublisher
Interface used to publish app/container events to timelineservice.
  • Method Details

    • appCreated

      void appCreated(RMApp app, long createdTime)
    • appLaunched

      void appLaunched(RMApp app, long launchTime)
    • appACLsUpdated

      void appACLsUpdated(RMApp app, String appViewACLs, long updatedTime)
    • appUpdated

      void appUpdated(RMApp app, long updatedTime)
    • appStateUpdated

      void appStateUpdated(RMApp app, org.apache.hadoop.yarn.api.records.YarnApplicationState appState, long updatedTime)
    • appFinished

      void appFinished(RMApp app, RMAppState state, long finishedTime)
    • appAttemptRegistered

      void appAttemptRegistered(RMAppAttempt appAttempt, long registeredTime)
    • appAttemptFinished

      void appAttemptFinished(RMAppAttempt appAttempt, RMAppAttemptState appAttemtpState, RMApp app, long finishedTime)
    • containerCreated

      void containerCreated(RMContainer container, long createdTime)
    • containerFinished

      void containerFinished(RMContainer container, long finishedTime)