Skip to content

Commit

Permalink
Rename LeadershipManagerZkImpl to LeadershipManagerImpl (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfradkin-stripe authored Jul 19, 2024
1 parent c0d0370 commit dd5a89e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
import rx.functions.Func0;


public class LeadershipManagerZkImpl implements ILeadershipManager {
public class LeadershipManagerImpl implements ILeadershipManager {

private static final Logger logger = LoggerFactory.getLogger(LeadershipManagerZkImpl.class);
private static final Logger logger = LoggerFactory.getLogger(LeadershipManagerImpl.class);
private final Gauge isLeaderGauge;
private final Gauge isLeaderReadyGauge;
private final AtomicBoolean firstTimeLeaderMode = new AtomicBoolean(false);
Expand All @@ -46,7 +46,7 @@ public class LeadershipManagerZkImpl implements ILeadershipManager {
private volatile boolean isReady = false;
private volatile Instant becameLeaderAt;

public LeadershipManagerZkImpl(final MasterConfiguration config,
public LeadershipManagerImpl(final MasterConfiguration config,
final ServiceLifecycle serviceLifecycle) {
this.config = config;
this.serviceLifecycle = serviceLifecycle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public MasterMain(
try {
ConfigurationProvider.initialize(configFactory);
this.config = ConfigurationProvider.getConfig();
leadershipManager = new LeadershipManagerZkImpl(config, mantisServices);
leadershipManager = new LeadershipManagerImpl(config, mantisServices);

Thread t = new Thread(this::shutdown);
t.setDaemon(true);
Expand Down

0 comments on commit dd5a89e

Please sign in to comment.