Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 20 for clearCaches (0.07 seconds)

  1. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

                logger.warn("Failed to load popular words.", e);
            }
            return Collections.emptyList();
        }
    
        /**
         * Clears all cached popular word lists.
         */
        public void clearCache() {
            cache.invalidateAll();
        }
    
        /**
         * Generates a cache key based on the provided parameters.
         *
         * @param seed the seed value
         * @param tags array of tags
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                    } catch (final Exception e) {
                        return null;
                    } finally {
                        final GroovyClassLoader loader = groovyShell.getClassLoader();
                        loader.clearCache();
                    }
                }
    
                @Override
                protected String getName() {
                    return Constants.DEFAULT_SCRIPT;
                }
            }.register();
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  3. 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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. 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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. 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 {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (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();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16.3K bytes
    - Click Count (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.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Nov 20 08:40:57 GMT 2025
    - 16.9K bytes
    - Click Count (1)
  8. 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.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            } catch (final Exception e) {
                logger.warn("Failed to delete UrlFilter: sessionId={}", sid, e);
            }
    
            try {
                // clear queue
                urlQueueService.clearCache();
                urlQueueService.delete(sid);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlQueue: sessionId={}", sid, e);
            }
    
            try {
                // clear
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25K bytes
    - Click Count (0)
  10. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
Back to Top