Class ResourceManagerProcessContext
- java.lang.Object
-
- org.apache.flink.runtime.resourcemanager.ResourceManagerProcessContext
-
public class ResourceManagerProcessContext extends Object
This class contains information and services needed for creating aResourceManager
, which do not change during the lifetime of the process and can be reused between multiple resource manager instances in the process.
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
-
-
-
Constructor Detail
-
ResourceManagerProcessContext
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)
-
-
Method Detail
-
getRmConfig
public Configuration getRmConfig()
-
getResourceId
public ResourceID getResourceId()
-
getRmRuntimeServicesConfig
public ResourceManagerRuntimeServicesConfiguration getRmRuntimeServicesConfig()
-
getRpcService
public RpcService getRpcService()
-
getHighAvailabilityServices
public HighAvailabilityServices getHighAvailabilityServices()
-
getHeartbeatServices
public HeartbeatServices getHeartbeatServices()
-
getDelegationTokenManager
public DelegationTokenManager getDelegationTokenManager()
-
getFatalErrorHandler
public FatalErrorHandler getFatalErrorHandler()
-
getClusterInformation
public ClusterInformation getClusterInformation()
-
getWebInterfaceUrl
@Nullable public String getWebInterfaceUrl()
-
getMetricRegistry
public MetricRegistry getMetricRegistry()
-
getHostname
public String getHostname()
-
getIoExecutor
public Executor getIoExecutor()
-
-