public class

DistributedLeaderElection

extends Object
implements ControllerChangeListener
java.lang.Object
   ↳ org.apache.helix.manager.zk.DistributedLeaderElection

Class Overview

do distributed leader election

Summary

Public Constructors
DistributedLeaderElection(HelixManager manager, GenericHelixController controller, List<HelixTimerTask> controllerTimerTasks)
Public Methods
synchronized void onControllerChange(NotificationContext changeContext)
may be accessed by multiple threads: zk-client thread and ZkHelixManager.disconnect()->reset() TODO: Refactor accessing HelixMangerMain class statically
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.apache.helix.ControllerChangeListener

Public Constructors

public DistributedLeaderElection (HelixManager manager, GenericHelixController controller, List<HelixTimerTask> controllerTimerTasks)

Public Methods

public synchronized void onControllerChange (NotificationContext changeContext)

may be accessed by multiple threads: zk-client thread and ZkHelixManager.disconnect()->reset() TODO: Refactor accessing HelixMangerMain class statically

Parameters
changeContext description of the event and state