Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for getExecuteTime (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                }
    
                @Override
                public long getDocumentSize() {
                    return 0;
                }
    
                @Override
                public long getExecuteTime() {
                    return 0;
                }
    
                @Override
                public void commit() {
                }
            };
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (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();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.2K bytes
    - Click Count (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() {
    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)
  6. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
            }
        }
    
        /**
         * Gets the total execution time for index updates.
         *
         * @return the total execution time in milliseconds
         */
        public long getExecuteTime() {
            return executeTime;
        }
    
        /**
         * Gets the list of crawler session IDs being processed.
         *
         * @return the list of session IDs
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  7. 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());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (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;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25K bytes
    - Click Count (0)
Back to Top