- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 130 for CountDownLatch (0.13 seconds)
-
src/main/java/org/codelibs/fess/exec/SuggestCreator.java
suggestHelper.storeAllElevateWords(true); final AtomicInteger exitCode = new AtomicInteger(0); if (ComponentUtil.getFessConfig().isSuggestDocuments()) { final CountDownLatch latch = new CountDownLatch(1); logger.info("Parsing words from indexed documents."); suggestHelper.indexFromDocuments(ret -> { logger.info("Success indexing from documents.");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
} } // --- Async thread pool execution test --- @Test public void test_AsyncThreadPoolExecution() throws Exception { // ## Arrange ## CountDownLatch latch = new CountDownLatch(1); AtomicReference<String> threadName = new AtomicReference<>(); CurlRequest req = new OpenOverrideCurlRequest(Curl.Method.GET, "http://dummy", u -> {Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
barrier.await(1, SECONDS); } finally { service.shutdown(); } } public void testRejectedExecutionThrownWithMultipleCalls() throws Exception { CountDownLatch latch = new CountDownLatch(1); SettableFuture<?> future = SettableFuture.create(); Executor delegate = new Executor() { @Override public void execute(Runnable task) {
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) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
ist.interrupt(); } catch (final Exception e) { logger.warn("Could not interrupt a thread of an input stream.", e); } final CountDownLatch latch = new CountDownLatch(3); final Process process = jobProcess.getProcess(); new Thread(() -> { try { CloseableUtil.closeQuietly(process.getInputStream());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 06:54:47 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
assertEquals(Service.State.FAILED, service.state()); } public void testFailOnErrorFromStartUpListener() throws InterruptedException { Error error = new Error(); CountDownLatch latch = new CountDownLatch(1); TestService service = new TestService(); service.addListener( new Service.Listener() { @Override public void running() { throw error;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java
assertEquals(Service.State.FAILED, service.state()); } public void testFailOnErrorFromStartUpListener() throws InterruptedException { Error error = new Error(); CountDownLatch latch = new CountDownLatch(1); TestService service = new TestService(); service.addListener( new Service.Listener() { @Override public void running() { throw error;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 22.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
final int threadCount = 8; final int iterationsPerThread = 50; final ExecutorService executor = Executors.newFixedThreadPool(threadCount); final CountDownLatch startLatch = new CountDownLatch(1); final AtomicInteger errors = new AtomicInteger(0); final List<Future<?>> futures = new ArrayList<>(); for (int t = 0; t < threadCount; t++) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
} @Test public void testConcurrentKeyOperations() throws InterruptedException { int threadCount = 10; int operationsPerThread = 50; CountDownLatch latch = new CountDownLatch(threadCount); AtomicInteger successCount = new AtomicInteger(0); ExecutorService executor = Executors.newFixedThreadPool(threadCount); for (int t = 0; t < threadCount; t++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
Runnable task = () -> {}; service.execute(task); verify(delegate).execute(task); } public void testListeningDecorator_scheduleSuccess() throws Exception { CountDownLatch completed = new CountDownLatch(1); ScheduledThreadPoolExecutor delegate = new ScheduledThreadPoolExecutor(1) { @Override protected void afterExecute(Runnable r, Throwable t) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
Runnable task = () -> {}; service.execute(task); verify(delegate).execute(task); } public void testListeningDecorator_scheduleSuccess() throws Exception { CountDownLatch completed = new CountDownLatch(1); ScheduledThreadPoolExecutor delegate = new ScheduledThreadPoolExecutor(1) { @Override protected void afterExecute(Runnable r, Throwable t) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0)