Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 32 for machen (0.04 seconds)

  1. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            String[] fields = { "cache1", "cache2", "cache3" };
            queryFieldConfig.setCacheResponseFields(fields);
    
            String[] result = queryFieldConfig.getCacheResponseFields();
            assertSame(fields, result);
        }
    
        @Test
        public void test_setCacheResponseFields() {
            String[] fields = { "cache1", "cache2", "cache3" };
            queryFieldConfig.setCacheResponseFields(fields);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

     *
     * <p>Thread Safety: This class is thread-safe. Each cached entry holds its own
     * GroovyClassLoader. The cache uses Guava Cache with segment-based locking for
     * lock-free concurrent reads. Each evaluate() call creates a new Script instance
     * to ensure thread isolation of bindings.</p>
     *
     * <p>Note on class-level isolation: Compiled Script classes are cached and reused.
    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/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

        protected int count = 1;
    
        /**
         * Cache for storing crawling configurations to improve performance.
         */
        protected Cache<String, CrawlingConfig> crawlingConfigCache;
    
        /**
         * Initializes the CrawlingConfigHelper by setting up the crawling configuration cache.
         * This method is called automatically after the bean construction is complete.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.5K bytes
    - Click Count (1)
  4. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

            }
    
            for (final Pattern pattern : includedDocUrlPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.TRUE;
                }
            }
    
            for (final Pattern pattern : excludedDocUrlPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.FALSE;
                }
            }
    
            return Constants.TRUE;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

            }
    
            for (final Pattern pattern : includedDocPathPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.TRUE;
                }
            }
    
            for (final Pattern pattern : excludedDocPathPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.FALSE;
                }
            }
    
            return Constants.TRUE;
    
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            key = virtualHostHelper.getVirtualHostKey();
            assertEquals("", key); // Still empty due to caching
    
            // Test caching by calling again - should return cached value
            key = virtualHostHelper.getVirtualHostKey();
            assertEquals("", key); // Still cached value
        }
    
        @Test
        public void test_getVirtualHostKey_withCaching() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            }).orElse(StringUtil.EMPTY_STRINGS);
        }
    
        /**
         * Retrieves or creates the result document IDs cache from the session.
         * The cache is implemented as an LRU map to limit memory usage.
         *
         * @param session the HTTP session
         * @return the result document IDs cache map
         */
        private Map<String, String[]> getResultDocIdsCache(final HttpSession session) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            // Second evaluation of the same cached script should not see previous state
            final Map<String, Object> params2 = new HashMap<>();
            params2.put("x", 3);
            assertEquals(3, engine.evaluate(script, params2));
    
            engine.close();
        }
    
        // ===== Compilation Failure Tests =====
    
        /**
         * Test that syntax errors are not cached and can be retried
         */
        @Test
    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)
  9. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

            if (cookieNameMap == null) {
                cookieNameMap = new HashMap<>();
            }
            cookieNameMap.put(cookieName, roleName);
        }
    
        /**
         * Sets the cached cipher.
         * @param cipher The cached cipher.
         */
        public void setCipher(final CachedCipher cipher) {
            this.cipher = cipher;
        }
    
        /**
         * Sets the value separator.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

                // Clean up system property
                System.clearProperty(Constants.FESS_CONFIG_PREFIX + testKey);
            }
        }
    
        // Test cache behavior with system property changes
        @Test
        public void test_get_cacheAfterSystemPropertyChange() {
            String testKey = "cache.test";
            String initialValue = "initial";
            System.setProperty(Constants.FESS_CONFIG_PREFIX + testKey, initialValue);
    
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
Back to Top