public class NoOpSystemMetricPublisher extends Object implements SystemMetricsPublisher
Constructor and Description |
---|
NoOpSystemMetricPublisher() |
Modifier and Type | Method and Description |
---|---|
void |
appACLsUpdated(RMApp app,
String appViewACLs,
long updatedTime) |
void |
appAttemptFinished(RMAppAttempt appAttempt,
RMAppAttemptState appAttemtpState,
RMApp app,
long finishedTime) |
void |
appAttemptRegistered(RMAppAttempt appAttempt,
long registeredTime) |
void |
appCreated(RMApp app,
long createdTime) |
void |
appFinished(RMApp app,
RMAppState state,
long finishedTime) |
void |
appLaunched(RMApp app,
long launchTime) |
void |
appStateUpdated(RMApp app,
org.apache.hadoop.yarn.api.records.YarnApplicationState appState,
long updatedTime) |
void |
appUpdated(RMApp app,
long currentTimeMillis) |
void |
containerCreated(RMContainer container,
long createdTime) |
void |
containerFinished(RMContainer container,
long finishedTime) |
public void appCreated(RMApp app, long createdTime)
appCreated
in interface SystemMetricsPublisher
public void appFinished(RMApp app, RMAppState state, long finishedTime)
appFinished
in interface SystemMetricsPublisher
public void appACLsUpdated(RMApp app, String appViewACLs, long updatedTime)
appACLsUpdated
in interface SystemMetricsPublisher
public void appAttemptRegistered(RMAppAttempt appAttempt, long registeredTime)
appAttemptRegistered
in interface SystemMetricsPublisher
public void appAttemptFinished(RMAppAttempt appAttempt, RMAppAttemptState appAttemtpState, RMApp app, long finishedTime)
appAttemptFinished
in interface SystemMetricsPublisher
public void containerCreated(RMContainer container, long createdTime)
containerCreated
in interface SystemMetricsPublisher
public void containerFinished(RMContainer container, long finishedTime)
containerFinished
in interface SystemMetricsPublisher
public void appUpdated(RMApp app, long currentTimeMillis)
appUpdated
in interface SystemMetricsPublisher
public void appStateUpdated(RMApp app, org.apache.hadoop.yarn.api.records.YarnApplicationState appState, long updatedTime)
appStateUpdated
in interface SystemMetricsPublisher
public void appLaunched(RMApp app, long launchTime)
appLaunched
in interface SystemMetricsPublisher
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.