- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for scriptCacheSize (0.11 seconds)
-
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
} } /** * Sets the maximum number of compiled scripts to cache. * * @param scriptCacheSize the cache size */ public void setScriptCacheSize(final int scriptCacheSize) { this.scriptCacheSize = scriptCacheSize; } /** * Sets the maximum length of script text included in warning log messages. *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) -
src/main/resources/fess_se++.xml
<!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN" "http://dbflute.org/meta/lastadi10.dtd"> <components> <component name="groovyEngine" class="org.codelibs.fess.script.groovy.GroovyEngine"> <!-- <property name="scriptCacheSize">1000</property> <property name="maxScriptLogLength">200</property> --> <postConstruct name="init"></postConstruct> <postConstruct name="register"></postConstruct> </component>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 485 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
* Test that configurable script cache size works with eviction */ @Test public void test_configurableScriptCacheSize() { final GroovyEngine engine = new GroovyEngine(); engine.scriptCacheSize = 5; engine.init(); final Map<String, Object> params = new HashMap<>(); for (int i = 0; i < 10; i++) { assertEquals(i, engine.evaluate("return " + i, params)); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0)