public class EmbeddedHaServicesWithLeadershipControl extends EmbeddedHaServices implements HaLeadershipControl
EmbeddedHaServices extension to expose leadership granting and revoking.lockDEFAULT_JOB_ID, DEFAULT_LEADER_ID| 构造器和说明 |
|---|
EmbeddedHaServicesWithLeadershipControl(Executor executor) |
EmbeddedHaServicesWithLeadershipControl(Executor executor,
CheckpointRecoveryFactory checkpointRecoveryFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
CheckpointRecoveryFactory |
getCheckpointRecoveryFactory()
Gets the checkpoint recovery factory for the job manager.
|
CompletableFuture<Void> |
grantDispatcherLeadership() |
CompletableFuture<Void> |
grantJobMasterLeadership(org.apache.flink.api.common.JobID jobId) |
CompletableFuture<Void> |
grantResourceManagerLeadership() |
CompletableFuture<Void> |
revokeDispatcherLeadership() |
CompletableFuture<Void> |
revokeJobMasterLeadership(org.apache.flink.api.common.JobID jobId) |
CompletableFuture<Void> |
revokeResourceManagerLeadership() |
close, getClusterRestEndpointLeaderElectionService, getClusterRestEndpointLeaderRetriever, getDispatcherLeaderElectionService, getDispatcherLeaderRetriever, getJobManagerLeaderElectionService, getJobManagerLeaderRetriever, getJobManagerLeaderRetriever, getResourceManagerLeaderElectionService, getResourceManagerLeaderRetrievercheckNotShutdown, closeAndCleanupAllData, createBlobStore, getJobGraphStore, getJobResultStore, isShutDownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWebMonitorLeaderElectionService, getWebMonitorLeaderRetriever, globalCleanupAsyncpublic EmbeddedHaServicesWithLeadershipControl(Executor executor)
public EmbeddedHaServicesWithLeadershipControl(Executor executor, CheckpointRecoveryFactory checkpointRecoveryFactory)
public CompletableFuture<Void> revokeDispatcherLeadership()
public CompletableFuture<Void> grantDispatcherLeadership()
grantDispatcherLeadership 在接口中 HaLeadershipControlpublic CompletableFuture<Void> revokeJobMasterLeadership(org.apache.flink.api.common.JobID jobId)
revokeJobMasterLeadership 在接口中 HaLeadershipControlpublic CompletableFuture<Void> grantJobMasterLeadership(org.apache.flink.api.common.JobID jobId)
grantJobMasterLeadership 在接口中 HaLeadershipControlpublic CompletableFuture<Void> revokeResourceManagerLeadership()
public CompletableFuture<Void> grantResourceManagerLeadership()
public CheckpointRecoveryFactory getCheckpointRecoveryFactory()
HighAvailabilityServicesgetCheckpointRecoveryFactory 在接口中 HighAvailabilityServicesgetCheckpointRecoveryFactory 在类中 AbstractNonHaServicesCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.