Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for loadDataStoreNameList (0.09 sec)

  1. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

                @Override
                protected List<String> loadDataStoreNameList() {
                    // Will handle exception and log warning
                    return super.loadDataStoreNameList();
                }
            };
    
            List<String> names = testFactory.loadDataStoreNameList();
            assertNotNull(names);
            assertTrue(names.isEmpty() || names.size() >= 0);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         */
        public String[] getDataStoreNames() {
            final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
            if (now - lastLoadedTime > 60000L) {
                final List<String> nameList = loadDataStoreNameList();
                dataStoreNames = nameList.toArray(n -> new String[nameList.size()]);
                lastLoadedTime = now;
            }
            return dataStoreNames;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top