Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getFilteredEnvMap (0.12 sec)

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

        }
    
        public void test_getFilteredEnvMap() {
            Map<String, String> filteredEnvMap = systemHelper.getFilteredEnvMap("^FESS_ENV.*");
            assertEquals(0, filteredEnvMap.size());
    
            envMap.put("FESS_ENV_TEST", "123");
            filteredEnvMap = systemHelper.getFilteredEnvMap("^FESS_ENV.*");
            assertEquals(1, filteredEnvMap.size());
            assertEquals("123", filteredEnvMap.get("FESS_ENV_TEST"));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

            final Date documentExpires = crawlingInfoHelper.getDocumentExpires(config);
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final Map<String, String> paramEnvMap = systemHelper.getFilteredEnvMap(fessConfig.getCrawlerDataEnvParamKeyPattern());
            final Map<String, String> configParamMap = config.getHandlerParameterMap().entrySet().stream().map(e -> {
                final String key = e.getKey();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                        }
                        systemCpuCheckTime = now;
                    }
                }
            }
            return systemCpuPercent;
        }
    
        public Map<String, String> getFilteredEnvMap(final String keyPattern) {
            final Pattern pattern = Pattern.compile(keyPattern);
            return getEnvMap().entrySet().stream().filter(e -> {
                final String key = e.getKey();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top