Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for clearCache (0.04 sec)

  1. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            assertNotNull(result);
            assertTrue(result.contains("test@seed#with$special%chars"));
        }
    
        public void test_clearCache() {
            // Test that clearCache doesn't throw exception
            popularWordHelper.clearCache();
    
            // Verify cache is cleared (we can't directly test this without accessing the cache)
            // But we can test that it doesn't throw exceptions
            assertTrue(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/SuggestJob.java

                    throw new JobProcessingException(out.toString());
                }
                ComponentUtil.getPopularWordHelper().clearCache();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("SuggestCreator Process terminated.", e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                    throw new JobProcessingException(out.toString());
                }
                ComponentUtil.getPopularWordHelper().clearCache();
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("ThumbnailGenerator Process terminated.", e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            Mockito.when(mockConfig.getSessionLimit()).thenReturn(10);
    
            // Clear buffer cache for consistent test results
            BufferCache.clearCache();
        }
    
        /**
         * Test connection pool scalability with concurrent access
         */
        @Test
        public void testConnectionPoolConcurrentPerformance() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        }
    
        /**
         * Refreshes the suggest index.
         */
        public synchronized void refresh() {
            suggester.refresh();
            if (popularWordHelper != null) {
                popularWordHelper.clearCache();
            }
        }
    
        /**
         * Sets the interval for storing search logs.
         *
         * @param searchStoreInterval The search store interval in minutes.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

            public boolean calibrateCpuLoad() {
                return true;
            }
        }
    
        private static class MockPopularWordHelper extends PopularWordHelper {
            @Override
            public void clearCache() {
                // Mock implementation
            }
        }
    
        private static class MockSuggester {
            private MockSuggestIndexer indexer = new MockSuggestIndexer();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                } catch (final Exception e) {
                    logger.warn("Failed to restore " + urlQueue, e);
                }
            }));
        }
    
        /**
         * Clears the cache.
         */
        public void clearCache() {
            sessionCache.clear();
        }
    
        /**
         * Updates the session ID for all URL queue entries.
         *
         * @param oldSessionId The old session ID.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            } catch (final Exception e) {
                logger.warn("Failed to delete UrlFilter for {}", sid, e);
            }
    
            try {
                // clear queue
                urlQueueService.clearCache();
                urlQueueService.delete(sid);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlQueue for {}", sid, e);
            }
    
            try {
                // clear
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

        // Mock PopularWordHelper implementation
        private class MockPopularWordHelper extends PopularWordHelper {
            private boolean cacheCleared = false;
    
            @Override
            public void clearCache() {
                cacheCleared = true;
            }
    
            public boolean isCacheCleared() {
                return cacheCleared;
            }
        }
    
        // Mock JobExecutor implementation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top