Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 19 of 19 for Interrupted (0.05 seconds)

  1. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            thread1.start();
            thread2.start();
    
            try {
                thread1.join();
                thread2.join();
            } catch (InterruptedException e) {
                fail("Thread interrupted");
            }
        }
    
        @Test
        public void test_genericTypeSafety_withSubclass() {
            // Test that the exception accepts RootAction subclasses
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/exec/Crawler.java

         *
         * @param crawlerThread the thread to wait for; null threads are ignored
         */
        private void joinCrawlerThread(final Thread crawlerThread) {
            if (crawlerThread != null) {
                try {
                    crawlerThread.join();
                } catch (final Exception e) {
                    logger.info("Interrupted crawling process: name={}", crawlerThread.getName());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                }).start();
            }
    
            try {
                latch.await();
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
                fail("Thread safety test interrupted");
            }
    
            // In test environment, some operations might not work due to missing request context
            // but the methods should not throw unexpected exceptions
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            // Wait for all threads to complete
            for (Thread thread : threads) {
                try {
                    thread.join();
                } catch (InterruptedException e) {
                    fail("Thread interrupted");
                }
            }
    
            // Verify all stores were counted
            assertEquals(1000L, callback.getDocumentSize());
    
            // Test commit after concurrent operations
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

                    try {
                        thread.join();
                    } catch (InterruptedException e) {
                        Thread.currentThread().interrupt();
                        fail("Thread interrupted");
                    }
                }
    
                // Verify all results are consistent
                for (String result : results) {
                    assertEquals("thread-test", result);
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                executor.awaitTermination(executorTerminationTimeout, TimeUnit.SECONDS);
            } catch (final InterruptedException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Executor shutdown interrupted", e);
                }
            } finally {
                executor.shutdownNow();
            }
    
            synchronized (indexUpdateCallback) {
                if (!deleteUrlList.isEmpty()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  7. src/main/java/org/codelibs/fess/helper/SearchHelper.java

         *
         * @param consumer Consumer function to configure the bulk request builder
         * @return true if all bulk operations were successful, false otherwise
         * @throws InterruptedRuntimeException if the operation is interrupted
         * @throws SearchEngineClientException if the bulk update fails
         */
        public boolean bulkUpdate(final Consumer<BulkRequestBuilder> consumer) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                            }
                        }
                    } catch (final InterruptedException e) {
                        if (generating && logger.isDebugEnabled()) {
                            logger.debug("Interrupted task.", e);
                        }
                    } catch (final Exception e) {
                        if (generating) {
                            logger.warn("Failed to generate thumbnail.", e);
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            }
    
            indexUpdater.setFinishCrawling(true);
            try {
                indexUpdater.join();
            } catch (final InterruptedException e) {
                logger.warn("Interrupted index update.", e);
            }
    
            crawlingInfoHelper.putToInfoMap(Constants.WEB_FS_INDEX_EXEC_TIME, Long.toString(indexUpdater.getExecuteTime()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25K bytes
    - Click Count (0)
Back to Top