public class ResourceManagerProcessContext extends Object
ResourceManager
, which do not change during the
lifetime of the process and can be reused between multiple resource manager instances in the
process.Constructor and Description |
---|
ResourceManagerProcessContext(Configuration rmConfig,
ResourceID resourceId,
ResourceManagerRuntimeServicesConfiguration rmRuntimeServicesConfig,
RpcService rpcService,
HighAvailabilityServices highAvailabilityServices,
HeartbeatServices heartbeatServices,
DelegationTokenManager delegationTokenManager,
FatalErrorHandler fatalErrorHandler,
ClusterInformation clusterInformation,
String webInterfaceUrl,
MetricRegistry metricRegistry,
String hostname,
Executor ioExecutor) |
public ResourceManagerProcessContext(Configuration rmConfig, ResourceID resourceId, ResourceManagerRuntimeServicesConfiguration rmRuntimeServicesConfig, RpcService rpcService, HighAvailabilityServices highAvailabilityServices, HeartbeatServices heartbeatServices, DelegationTokenManager delegationTokenManager, FatalErrorHandler fatalErrorHandler, ClusterInformation clusterInformation, @Nullable String webInterfaceUrl, MetricRegistry metricRegistry, String hostname, Executor ioExecutor)
public Configuration getRmConfig()
public ResourceID getResourceId()
public ResourceManagerRuntimeServicesConfiguration getRmRuntimeServicesConfig()
public RpcService getRpcService()
public HighAvailabilityServices getHighAvailabilityServices()
public HeartbeatServices getHeartbeatServices()
public DelegationTokenManager getDelegationTokenManager()
public FatalErrorHandler getFatalErrorHandler()
public ClusterInformation getClusterInformation()
public MetricRegistry getMetricRegistry()
public String getHostname()
public Executor getIoExecutor()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.