@DisplayName("test_stop") @Test void stop() { assertTrue(service.start()); assertFalse(service.stop()); }
@Override public final boolean stop() throws ServiceException { try { return stopAsync().join(); } catch (CompletionException e) { throw wrapServiceException(e.getCause()); } }
AbstractService implements Service { @Override public final boolean stop() throws ServiceException { try { return stopAsync().join(); } catch (CompletionException e) { throw wrapServiceException(e.getCause()); } } }
AbstractService implements Service { @Override public final boolean stop() throws ServiceException { try { return stopAsync().join(); } catch (CompletionException e) { throw wrapServiceException(e.getCause()); } }  }
AbstractService implements Service { @Override public final boolean stop() throws ServiceException { try { return stopAsync().join(); } catch (CompletionException e) { throw wrapServiceException(e.getCause()); } }  @Override CompletableFuture<Boolean> startAsync(); @Override CompletableFuture<Boolean> startAsync(PiccoloContext context); @Override CompletableFuture<Boolean> stopAsync(); final CompletableFuture<Boolean> stopAsyncWithCallback(Callback callback); @Override final boolean start(); @Override boolean start(PiccoloContext context); @Override final boolean stop(); @Override boolean isRunning(); }
AbstractService implements Service { @Override public final boolean stop() throws ServiceException { try { return stopAsync().join(); } catch (CompletionException e) { throw wrapServiceException(e.getCause()); } }  @Override CompletableFuture<Boolean> startAsync(); @Override CompletableFuture<Boolean> startAsync(PiccoloContext context); @Override CompletableFuture<Boolean> stopAsync(); final CompletableFuture<Boolean> stopAsyncWithCallback(Callback callback); @Override final boolean start(); @Override boolean start(PiccoloContext context); @Override final boolean stop(); @Override boolean isRunning();  }