Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getDataStoreNames (0.07 seconds)

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

                // Test implementation
            }
        }
    
        // ========== Thread Safety Tests for getDataStoreNames() ==========
    
        /**
         * Test concurrent getDataStoreNames calls to verify synchronized method works correctly.
         * Multiple threads call getDataStoreNames() simultaneously.
         */
        @Test
        public void test_getDataStoreNames_concurrentAccess() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         * every 60 seconds to balance performance with up-to-date plugin discovery.
         *
         * @return array of data store names sorted alphabetically, never null
         */
        public synchronized String[] getDataStoreNames() {
            final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
            if (now - lastLoadedTime > 60000L) {
                final List<String> nameList = loadDataStoreNameList();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

        /**
         * Register handler names.
         * @param data The render data.
         */
        protected void registerHandlerNames(final RenderData data) {
            final String[] dataStoreNames = dataStoreFactory.getDataStoreNames();
            final List<Map<String, String>> itemList = new ArrayList<>();
            for (final String name : dataStoreNames) {
                final Map<String, String> map = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21K bytes
    - Click Count (0)
Back to Top