public class MRAppMaster.RunningAppContext extends Object implements AppContext
| Constructor and Description |
|---|
MRAppMaster.RunningAppContext(Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeIsLastAMRetry() |
Map<JobId,Job> |
getAllJobs() |
ApplicationAttemptId |
getApplicationAttemptId() |
ApplicationId |
getApplicationID() |
String |
getApplicationName() |
Set<String> |
getBlacklistedNodes() |
ClientToAMTokenSecretManager |
getClientToAMTokenSecretManager() |
Clock |
getClock() |
ClusterInfo |
getClusterInfo() |
EventHandler |
getEventHandler() |
Job |
getJob(JobId jobID) |
long |
getStartTime() |
CharSequence |
getUser() |
boolean |
hasSuccessfullyUnregistered() |
boolean |
isLastAMRetry() |
void |
markSuccessfulUnregistration() |
public MRAppMaster.RunningAppContext(Configuration config)
public ApplicationAttemptId getApplicationAttemptId()
getApplicationAttemptId in interface AppContextpublic ApplicationId getApplicationID()
getApplicationID in interface AppContextpublic String getApplicationName()
getApplicationName in interface AppContextpublic long getStartTime()
getStartTime in interface AppContextpublic Job getJob(JobId jobID)
getJob in interface AppContextpublic Map<JobId,Job> getAllJobs()
getAllJobs in interface AppContextpublic EventHandler getEventHandler()
getEventHandler in interface AppContextpublic CharSequence getUser()
getUser in interface AppContextpublic Clock getClock()
getClock in interface AppContextpublic ClusterInfo getClusterInfo()
getClusterInfo in interface AppContextpublic Set<String> getBlacklistedNodes()
getBlacklistedNodes in interface AppContextpublic ClientToAMTokenSecretManager getClientToAMTokenSecretManager()
getClientToAMTokenSecretManager in interface AppContextpublic boolean isLastAMRetry()
isLastAMRetry in interface AppContextpublic boolean hasSuccessfullyUnregistered()
hasSuccessfullyUnregistered in interface AppContextpublic void markSuccessfulUnregistration()
public void computeIsLastAMRetry()
Copyright © 2013 Apache Software Foundation. All rights reserved.