- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 235 for _shutdown (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/FessBoot.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 11.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
barrier.await(1, SECONDS); executor.execute(barrierTask); // timeout means the second task wasn't even tried barrier.await(1, SECONDS); } finally { service.shutdown(); } } public void testRejectedExecutionThrownWithMultipleCalls() throws Exception { CountDownLatch latch = new CountDownLatch(1); SettableFuture<?> future = SettableFuture.create();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 10.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
* that once the Thread returns to the Executor that this Executor composes, the interruption * will still be present. If the composed Executor is an ExecutorService, it can respond to * shutdown() by returning tasks queued on that Thread after {@link #worker} drains the queue. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private void workOnQueue() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 10.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
if (executorService != null) { try { executorService.shutdown(); executorService.awaitTermination(60, TimeUnit.SECONDS); } catch (final InterruptedException e) { if (logger.isDebugEnabled()) { logger.debug("Executor shutdown interrupted", e); } } finally { executorService.shutdownNow();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 25 02:13:14 GMT 2025 - 28K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertThat(Sets.union(cache.asMap().keySet(), removalNotifications.keySet())) .isEqualTo(expectedKeys); assertThat(cache.asMap().keySet()).containsNoneIn(removalNotifications.keySet()); threadPool.shutdown(); threadPool.awaitTermination(300, SECONDS); } /** * Calls get() repeatedly from many different threads, and tests that all of the removed entries
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertThat(Sets.union(cache.asMap().keySet(), removalNotifications.keySet())) .isEqualTo(expectedKeys); assertThat(cache.asMap().keySet()).containsNoneIn(removalNotifications.keySet()); threadPool.shutdown(); threadPool.awaitTermination(300, SECONDS); } /** * Calls get() repeatedly from many different threads, and tests that all of the removed entries
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
private ExecutorService threadPool; @Override public void setUp() { threadPool = newCachedThreadPool(); } @Override public void tearDown() throws InterruptedException { threadPool.shutdown(); assertTrue("Some worker didn't finish in time", threadPool.awaitTermination(10, SECONDS)); } private static <T> int drain( BlockingQueue<T> q, Collection<? super T> buffer,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 12.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java
/** * Stops the poll loop and removes the heartbeat document on shutdown. */ @PreDestroy public void destroy() { if (pollTask != null) { pollTask.cancel(); } try { removeHeartbeat(); } catch (final Exception e) { logger.debug("Failed to remove heartbeat on shutdown.", e); } if (logger.isInfoEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 33.3K bytes - Click Count (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
pkill(pid); }); } else { forEachLeakingJavaProcess(rootProjectDir, (pid, line) -> { System.out.println("A process wasn't shutdown properly in a previous Gradle run. Killing process with PID " + pid + ": " + line); pkill(pid); }); } } private static void initExecutionMode(String[] args) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Sep 23 13:49:45 GMT 2025 - 12K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
break; } } } /** Waits out termination of a thread pool or fails doing so. */ final void joinPool(ExecutorService exec) throws InterruptedException { try { exec.shutdown(); assertTrue( "ExecutorService did not terminate in a timely manner", exec.awaitTermination(2 * LONG_DELAY_MS, MILLISECONDS)); } catch (SecurityException ok) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0)