Constructor and Description |
---|
RestClusterClient(Configuration config,
T clusterId,
LeaderRetrievalService webMonitorRetrievalService) |
Modifier and Type | Method and Description |
---|---|
protected DispatcherResourceManagerComponent<Dispatcher> |
SessionDispatcherResourceManagerComponentFactory.createDispatcherResourceManagerComponent(Dispatcher dispatcher,
ResourceManager<?> resourceManager,
LeaderRetrievalService dispatcherLeaderRetrievalService,
LeaderRetrievalService resourceManagerRetrievalService,
WebMonitorEndpoint<?> webMonitorEndpoint,
JobManagerMetricGroup jobManagerMetricGroup) |
protected DispatcherResourceManagerComponent<MiniDispatcher> |
JobDispatcherResourceManagerComponentFactory.createDispatcherResourceManagerComponent(MiniDispatcher dispatcher,
ResourceManager<?> resourceManager,
LeaderRetrievalService dispatcherLeaderRetrievalService,
LeaderRetrievalService resourceManagerRetrievalService,
WebMonitorEndpoint<?> webMonitorEndpoint,
JobManagerMetricGroup jobManagerMetricGroup) |
protected abstract DispatcherResourceManagerComponent<T> |
AbstractDispatcherResourceManagerComponentFactory.createDispatcherResourceManagerComponent(T dispatcher,
ResourceManager<?> resourceManager,
LeaderRetrievalService dispatcherLeaderRetrievalService,
LeaderRetrievalService resourceManagerRetrievalService,
WebMonitorEndpoint<?> webMonitorEndpoint,
JobManagerMetricGroup jobManagerMetricGroup) |
Modifier and Type | Method and Description |
---|---|
LeaderRetrievalService |
HighAvailabilityServices.getDispatcherLeaderRetriever()
Gets the leader retriever for the dispatcher.
|
LeaderRetrievalService |
HighAvailabilityServices.getJobManagerLeaderRetriever(JobID jobID)
Deprecated.
This method should only be used by the legacy code where the JobManager acts as the master.
|
LeaderRetrievalService |
HighAvailabilityServices.getJobManagerLeaderRetriever(JobID jobID,
String defaultJobManagerAddress)
Gets the leader retriever for the job JobMaster which is responsible for the given job
|
LeaderRetrievalService |
HighAvailabilityServices.getResourceManagerLeaderRetriever()
Gets the leader retriever for the cluster's resource manager.
|
LeaderRetrievalService |
HighAvailabilityServices.getWebMonitorLeaderRetriever() |
Modifier and Type | Method and Description |
---|---|
LeaderRetrievalService |
EmbeddedLeaderService.createLeaderRetrievalService() |
LeaderRetrievalService |
EmbeddedHaServices.getDispatcherLeaderRetriever() |
LeaderRetrievalService |
EmbeddedHaServices.getJobManagerLeaderRetriever(JobID jobID) |
LeaderRetrievalService |
EmbeddedHaServices.getJobManagerLeaderRetriever(JobID jobID,
String defaultJobManagerAddress) |
LeaderRetrievalService |
EmbeddedHaServices.getResourceManagerLeaderRetriever() |
LeaderRetrievalService |
EmbeddedHaServices.getWebMonitorLeaderRetriever() |
Modifier and Type | Method and Description |
---|---|
LeaderRetrievalService |
SingleLeaderElectionService.createLeaderRetrievalService() |
Modifier and Type | Method and Description |
---|---|
LeaderRetrievalService |
StandaloneHaServices.getDispatcherLeaderRetriever() |
LeaderRetrievalService |
StandaloneHaServices.getJobManagerLeaderRetriever(JobID jobID) |
LeaderRetrievalService |
StandaloneHaServices.getJobManagerLeaderRetriever(JobID jobID,
String defaultJobManagerAddress) |
LeaderRetrievalService |
StandaloneHaServices.getResourceManagerLeaderRetriever() |
LeaderRetrievalService |
StandaloneHaServices.getWebMonitorLeaderRetriever() |
Modifier and Type | Method and Description |
---|---|
LeaderRetrievalService |
ZooKeeperHaServices.getDispatcherLeaderRetriever() |
LeaderRetrievalService |
ZooKeeperHaServices.getJobManagerLeaderRetriever(JobID jobID) |
LeaderRetrievalService |
ZooKeeperHaServices.getJobManagerLeaderRetriever(JobID jobID,
String defaultJobManagerAddress) |
LeaderRetrievalService |
ZooKeeperHaServices.getResourceManagerLeaderRetriever() |
LeaderRetrievalService |
ZooKeeperHaServices.getWebMonitorLeaderRetriever() |
Modifier and Type | Class and Description |
---|---|
class |
SettableLeaderRetrievalService
LeaderRetrievalService implementation which directly forwards calls of
notifyListener to the listener. |
class |
StandaloneLeaderRetrievalService
Standalone implementation of the
LeaderRetrievalService . |
class |
ZooKeeperLeaderRetrievalService
The counterpart to the
ZooKeeperLeaderElectionService . |
Modifier and Type | Method and Description |
---|---|
static InetAddress |
LeaderRetrievalUtils.findConnectingAddress(LeaderRetrievalService leaderRetrievalService,
scala.concurrent.duration.FiniteDuration timeout) |
static InetAddress |
LeaderRetrievalUtils.findConnectingAddress(LeaderRetrievalService leaderRetrievalService,
Time timeout) |
static LeaderConnectionInfo |
LeaderRetrievalUtils.retrieveLeaderConnectionInfo(LeaderRetrievalService leaderRetrievalService,
scala.concurrent.duration.FiniteDuration timeout)
Retrieves the leader akka url and the current leader session ID.
|
static LeaderConnectionInfo |
LeaderRetrievalUtils.retrieveLeaderConnectionInfo(LeaderRetrievalService leaderRetrievalService,
Time timeout)
Retrieves the leader akka url and the current leader session ID.
|
static ActorGateway |
LeaderRetrievalUtils.retrieveLeaderGateway(LeaderRetrievalService leaderRetrievalService,
akka.actor.ActorSystem actorSystem,
scala.concurrent.duration.FiniteDuration timeout)
Retrieves the current leader gateway using the given
LeaderRetrievalService . |
static UUID |
LeaderRetrievalUtils.retrieveLeaderSessionId(LeaderRetrievalService leaderRetrievalService,
scala.concurrent.duration.FiniteDuration timeout)
Retrieves the current leader session id of the component identified by the given leader
retrieval service.
|
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.