Services.chainStop(ioService, processInitiator, discoveryServer);
}
public void startService(HealthInspector healthInspector) {
//Initializing discovery server
discoveryServer = new DiscoveryServer(hubDataStore, healthInspector, metricsRecorder, processMonitor);
discoveryServer.startAndWait();
//Initiating SQL Compiler processes
processInitiator = new ProcessInitiator(new HubDataStore.Builder(hubDataStore)
.setHubAddress(discoveryServer.getHubAddress())