Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for clearCache (0.07 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/jcifs/smb1/smb1/BufferCache.java

                    (queueSize.get() * 100.0 / MAX_BUFFERS));
        }
    
        /**
         * Clear all cached buffers (for testing or cleanup)
         */
        public static void clearCache() {
            bufferQueue.clear();
            queueSize.set(0);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/PythonJob.java

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

                return null;
            } finally {
                final GroovyClassLoader loader = groovyShell.getClassLoader();
                loader.clearCache();
            }
        }
    
        @Override
        protected String getName() {
            return "groovy";
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/message/MessageFormatter.java

        }
    
        /**
         * Initializes the class.
         */
        protected static synchronized void initialize() {
            if (!initialized) {
                DisposableUtil.add(() -> {
                    ResourceBundle.clearCache();
                    initialized = false;
                });
                initialized = true;
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top