/** {@inheritDoc} */ @Override public boolean awaitTermination( long timeout, @NotNull TimeUnit unit ) throws InterruptedException { awaitStop(); return true; }
/** * Stops executor. */ public void stop() { signalStop(); awaitStop(); }
/** {@inheritDoc} */ @Override public boolean awaitTermination( long timeout, @NotNull TimeUnit unit ) throws InterruptedException { awaitStop(); return true; }
/** * Stops executor. */ public void stop() { signalStop(); awaitStop(); }