Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for clearCaches (0.07 seconds)

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

            assertNotNull(result);
            assertTrue(result.contains("test@seed#with$special%chars"));
        }
    
        @Test
        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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

                        return new CachedScript(scriptClass, classLoader);
                    } catch (final Exception e) {
                        try {
                            classLoader.clearCache();
                            classLoader.close();
                        } catch (final IOException closeEx) {
                            logger.warn("Failed to close GroovyClassLoader after compilation failure", closeEx);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.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: Sun Mar 15 06:03:38 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  4. 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)
  5. 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