Class ClusterLeaderInitializationManager
java.lang.Object
com.linkedin.venice.controller.init.ClusterLeaderInitializationManager
- All Implemented Interfaces:
ClusterLeaderInitializationRoutine
public class ClusterLeaderInitializationManager
extends Object
implements ClusterLeaderInitializationRoutine
Takes care of executing each routine once per cluster. If a routine fails, it will have
another chance of executing next time the same controller becomes leader of the cluster
for which the routine previously failed.
-
Constructor Summary
ConstructorDescriptionClusterLeaderInitializationManager
(List<ClusterLeaderInitializationRoutine> initRoutines, boolean concurrentInit) -
Method Summary
-
Constructor Details
-
ClusterLeaderInitializationManager
public ClusterLeaderInitializationManager(List<ClusterLeaderInitializationRoutine> initRoutines, boolean concurrentInit)
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceClusterLeaderInitializationRoutine
- See Also:
-