124125126127128129130131132133134
executorFactory ); leaderLifecycle.addManagedInstance(resourceManagementScheduler); } leaderLifecycle.addManagedInstance(taskQueue); leaderLifecycle.addHandler( new Lifecycle.Handler() { @Override public void start() throws Exception {