@Test public void assertRegisterStartUpInfo() { setUpFacade.registerStartUpInfo(true); verify(listenerManager).startAllListeners(); verify(leaderService).electLeader(); verify(serverService).persistOnline(true); }
public void registerStartUpInfo(final boolean enabled) { listenerManager.startAllListeners(); leaderService.electLeader(); serverService.persistOnline(enabled); instanceService.persistOnline(); if (!reconcileService.isRunning()) { reconcileService.startAsync(); } }
SetUpFacade { public void registerStartUpInfo(final boolean enabled) { listenerManager.startAllListeners(); leaderService.electLeader(); serverService.persistOnline(enabled); instanceService.persistOnline(); if (!reconcileService.isRunning()) { reconcileService.startAsync(); } } }
SetUpFacade { public void registerStartUpInfo(final boolean enabled) { listenerManager.startAllListeners(); leaderService.electLeader(); serverService.persistOnline(enabled); instanceService.persistOnline(); if (!reconcileService.isRunning()) { reconcileService.startAsync(); } } SetUpFacade(final CoordinatorRegistryCenter regCenter, final String jobName, final Collection<ElasticJobListener> elasticJobListeners); }
SetUpFacade { public void registerStartUpInfo(final boolean enabled) { listenerManager.startAllListeners(); leaderService.electLeader(); serverService.persistOnline(enabled); instanceService.persistOnline(); if (!reconcileService.isRunning()) { reconcileService.startAsync(); } } SetUpFacade(final CoordinatorRegistryCenter regCenter, final String jobName, final Collection<ElasticJobListener> elasticJobListeners); JobConfiguration setUpJobConfiguration(final String jobClassName, final JobConfiguration jobConfig); void registerStartUpInfo(final boolean enabled); }
SetUpFacade { public void registerStartUpInfo(final boolean enabled) { listenerManager.startAllListeners(); leaderService.electLeader(); serverService.persistOnline(enabled); instanceService.persistOnline(); if (!reconcileService.isRunning()) { reconcileService.startAsync(); } } SetUpFacade(final CoordinatorRegistryCenter regCenter, final String jobName, final Collection<ElasticJobListener> elasticJobListeners); JobConfiguration setUpJobConfiguration(final String jobClassName, final JobConfiguration jobConfig); void registerStartUpInfo(final boolean enabled);  }