@Override protected void startUp() throws Exception { executorServer.startAndWait(); LOG.debug("Local dataset executor started"); }
@Override protected void shutDown() throws Exception { executorServer.stopAndWait(); LOG.debug("Local dataset executor stopped"); } }
MetricsCollectionService metricsCollectionService = injector.getInstance(MetricsCollectionService.class); opExecutorService = new DatasetOpExecutorService(cConf, discoveryService, metricsCollectionService, handlers); opExecutorService.startAndWait();
ImmutableSet<HttpHandler> handlers = ImmutableSet.of(new DatasetAdminOpHTTPHandler(datasetAdminService)); opExecutorService = new DatasetOpExecutorService(cConf, discoveryService, metricsCollectionService, handlers); opExecutorService.startAndWait();
@Override protected void startUp() throws Exception { executorServer.startAndWait(); LOG.debug("Local dataset executor started"); }
@Override protected void shutDown() throws Exception { executorServer.stopAndWait(); LOG.debug("Local dataset executor stopped"); } }