org.apache.hadoop.yarn.server.resourcemanager
Class RMContextImpl
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.RMContextImpl
- All Implemented Interfaces:
- RMContext
public class RMContextImpl
- extends Object
- implements RMContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMContextImpl
public RMContextImpl(Store store,
org.apache.hadoop.yarn.event.Dispatcher rmDispatcher,
ContainerAllocationExpirer containerAllocationExpirer,
AMLivelinessMonitor amLivelinessMonitor,
DelegationTokenRenewer tokenRenewer)
getDispatcher
public org.apache.hadoop.yarn.event.Dispatcher getDispatcher()
- Specified by:
getDispatcher in interface RMContext
getNodeStore
public NodeStore getNodeStore()
- Specified by:
getNodeStore in interface RMContext
getApplicationsStore
public ApplicationsStore getApplicationsStore()
- Specified by:
getApplicationsStore in interface RMContext
getRMApps
public ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,RMApp> getRMApps()
- Specified by:
getRMApps in interface RMContext
getRMNodes
public ConcurrentMap<org.apache.hadoop.yarn.api.records.NodeId,RMNode> getRMNodes()
- Specified by:
getRMNodes in interface RMContext
getInactiveRMNodes
public ConcurrentMap<String,RMNode> getInactiveRMNodes()
- Specified by:
getInactiveRMNodes in interface RMContext
getContainerAllocationExpirer
public ContainerAllocationExpirer getContainerAllocationExpirer()
- Specified by:
getContainerAllocationExpirer in interface RMContext
getAMLivelinessMonitor
public AMLivelinessMonitor getAMLivelinessMonitor()
- Specified by:
getAMLivelinessMonitor in interface RMContext
getDelegationTokenRenewer
public DelegationTokenRenewer getDelegationTokenRenewer()
- Specified by:
getDelegationTokenRenewer in interface RMContext
Copyright © 2012 Apache Software Foundation. All Rights Reserved.