- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for shutdownNow (1.81 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
try { if (!executor.awaitTermination(10, java.util.concurrent.TimeUnit.SECONDS)) { executor.shutdownNow(); } } catch (final InterruptedException e) { executor.shutdownNow(); } } long elapsed = (System.nanoTime() - time) / 1000000; long wait = waittime * (numTasks - 1);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
} } } public void testDirectExecutorService_shutdownNow() { ExecutorService executor = newDirectExecutorService(); assertEquals(ImmutableList.of(), executor.shutdownNow()); assertTrue(executor.isShutdown()); } public void testExecuteAfterShutdown() { ExecutorService executor = newDirectExecutorService(); executor.shutdown();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
} } List<Integer> actualCounts = transform(keys, multiset::count); assertEquals("Counts not as expected", Ints.asList(deltas), actualCounts); } finally { pool.shutdownNow(); } // Since we have access to the backing map, verify that there are no zeroes in the map for (AtomicInteger value : map.values()) { assertTrue("map should not contain a zero", value.get() != 0);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 22:42:14 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
} } } public void testDirectExecutorService_shutdownNow() { ExecutorService executor = newDirectExecutorService(); assertEquals(ImmutableList.of(), executor.shutdownNow()); assertTrue(executor.isShutdown()); } public void testExecuteAfterShutdown() { ExecutorService executor = newDirectExecutorService(); executor.shutdown();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 26.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
if (runningTasks == 0) { lock.notifyAll(); } } } // See newDirectExecutorService javadoc for unusual behavior of this method. @Override public List<Runnable> shutdownNow() { shutdown(); return ImmutableList.of(); } @Override public boolean isTerminated() { synchronized (lock) { return shutdown && runningTasks == 0; } } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 16 14:23:59 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
} catch (final InterruptedException e) { if (logger.isDebugEnabled()) { logger.debug("Interrupted.", e); } } finally { executorService.shutdownNow(); } return totalCount; }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
* Shuts down the thread pool. */ public void shutdown() { if (logger.isInfoEnabled()) { logger.info("Shutting down suggester: index={}", index); } threadPool.shutdownNow(); } /** * Creates a new index if no index exists. * @return True if an index was created, false otherwise. */ public boolean createIndexIfNothing() { try {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 21.6K bytes - Viewed (3) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
} catch (final InterruptedException e) { if (logger.isDebugEnabled()) { logger.debug("Executor shutdown interrupted", e); } } finally { executor.shutdownNow(); } synchronized (indexUpdateCallback) { if (!deleteUrlList.isEmpty()) { deleteDocuments(); } } indexUpdateCallback.commit();
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 29.7K bytes - Viewed (3) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
if (logger.isDebugEnabled()) { logger.debug("Executor shutdown interrupted", e); } } finally { executorService.shutdownNow(); } } } /** * Performs a search operation using rank fusion across available searchers. * If only one searcher is available, uses the main searcher. Otherwise, performs
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 27.5K bytes - Viewed (0)