Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for getExecuteTime (0.05 sec)

  1. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

                @Override
                public long getExecuteTime() {
                    return execTime.get();
                }
    
                @Override
                public void commit() {
                    // No-op for test
                }
            };
    
            // Test initial state
            assertEquals(0L, callback.getDocumentSize());
            assertEquals(0L, callback.getExecuteTime());
    
            // Test store method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            assertEquals(0, indexUpdateCallback.getExecuteTime());
    
            systemHelper.processingTime = 100L;
    
            DataStoreParams paramMap = new DataStoreParams();
            Map<String, Object> dataMap = new HashMap<>();
            dataMap.put("url", "http://example.com/test");
    
            indexUpdateCallback.store(paramMap, dataMap);
            assertEquals(100L, indexUpdateCallback.getExecuteTime());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallback.java

         */
        long getDocumentSize();
    
        /**
         * Returns the total execution time for index update operations.
         *
         * @return the execution time in milliseconds
         */
        long getExecuteTime();
    
        /**
         * Commits all pending index update operations to ensure data persistence.
         * This method should be called after all documents have been stored.
         */
        void commit();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            }
    
            @Override
            public long getDocumentSize() {
                return documentCount.get();
            }
    
            @Override
            public long getExecuteTime() {
                executeTime.set(System.currentTimeMillis() - startTime);
                return executeTime.get();
            }
    
            @Override
            public void commit() {
                committed.set(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

        }
    
        // Fast mock implementations to minimize overhead
    
        private static class FastMockIndexUpdateCallback implements IndexUpdateCallback {
            @Override
            public long getExecuteTime() {
                return 100L;
            }
    
            @Override
            public long getDocumentSize() {
                return 10L;
            }
    
            @Override
            public void commit() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

        }
    
        /**
         * Returns the total execution time for all operations.
         *
         * @return the total execution time in milliseconds
         */
        @Override
        public long getExecuteTime() {
            return executeTime;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

        }
    
        @Override
        public long getDocumentSize() {
            return indexUpdateCallback.getDocumentSize();
        }
    
        @Override
        public long getExecuteTime() {
            return indexUpdateCallback.getExecuteTime();
        }
    
        /**
         * Sets the maximum size of the delete document cache.
         *
         * @param maxDeleteDocumentCacheSize the maximum cache size before batch deletion is triggered
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            } catch (final InterruptedException e) {
                logger.warn("Interrupted index update.", e);
            }
    
            crawlingInfoHelper.putToInfoMap(Constants.WEB_FS_INDEX_EXEC_TIME, Long.toString(indexUpdater.getExecuteTime()));
            crawlingInfoHelper.putToInfoMap(Constants.WEB_FS_INDEX_SIZE, Long.toString(indexUpdater.getDocumentSize()));
    
            if (systemHelper.isForceStop()) {
                return;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                logger.info("[EXEC TIME] crawling time: {}ms", execTime);
            }
    
            crawlingInfoHelper.putToInfoMap(Constants.DATA_INDEX_EXEC_TIME, Long.toString(indexUpdateCallback.getExecuteTime()));
            crawlingInfoHelper.putToInfoMap(Constants.DATA_INDEX_SIZE, Long.toString(indexUpdateCallback.getDocumentSize()));
    
            for (final String sid : sessionIdList) {
                // remove config
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            indexUpdater.setCrawlerList(crawlerList);
            // Verify crawlerList was set (cannot access private field directly)
    
            // Test executeTime
            assertEquals(0L, indexUpdater.getExecuteTime());
    
            // Test documentSize
            assertEquals(0L, indexUpdater.getDocumentSize());
        }
    
        // Test setUncaughtExceptionHandler
        public void test_setUncaughtExceptionHandler() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
Back to top