Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for cleanUp (0.04 sec)

  1. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            assertTrue(true);
        }
    
        public void test_process_cleanupMode() throws Exception {
            // Test process method in cleanup mode
            ThumbnailGenerator.Options options = new ThumbnailGenerator.Options();
            options.numOfThreads = 1;
            options.cleanup = true;
    
            setupMockComponents();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            protected int numOfThreads = 1;
    
            /**
             * Whether to run in cleanup mode to remove old thumbnails.
             */
            @Option(name = "-c", aliases = "--cleanup", usage = "Clean-Up mode")
            protected boolean cleanup;
    
            /**
             * Default constructor for command-line options.
             */
            protected Options() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
            }
        }
    
        /**
         * Cleans up processed access results by updating their status in the data service.
         * This marks the access results as processed and clears the list.
         *
         * @param accessResultList the list of access results to clean up
         * @return the time taken for the cleanup operation in milliseconds, or -1 if no cleanup was needed
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

         * monitors their progress, and handles cleanup operations.
         *
         * <p>The method:</p>
         * <ul>
         *   <li>Creates crawler threads for each data configuration</li>
         *   <li>Manages concurrent execution based on thread count limits</li>
         *   <li>Monitors thread completion and handles cleanup</li>
         *   <li>Records execution timing and statistics</li>
         * </ul>
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

                    try {
                        Files.delete(path);
                    } catch (IOException e) {
                        // Ignore cleanup errors
                    }
                });
            }
            super.tearDown();
        }
    
        public void test_getName() {
            // Test getting the generator name
            assertEquals("TestGenerator", thumbnailGenerator.getName());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            assertEquals(4, thumbnailJob.numOfThreads);
        }
    
        // Test cleanup setter
        public void test_cleanup() {
            assertFalse(thumbnailJob.cleanup);
    
            GenerateThumbnailJob result = thumbnailJob.cleanup();
    
            assertSame(thumbnailJob, result);
            assertTrue(thumbnailJob.cleanup);
        }
    
        // Test execute method with successful execution
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            } finally {
                // Ensure proper cleanup
                if (updater != null) {
                    try {
                        updater.close();
                    } catch (Exception e) {
                        // Ignore cleanup exceptions in test
                    }
                }
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

         *
         * @param executorService the executor service for parallel processing
         * @param cleanup whether to run in cleanup mode
         * @return the number of tasks processed
         */
        public int generate(final ExecutorService executorService, final boolean cleanup) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final List<String> idList = new ArrayList<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exec/Crawler.java

     * This class serves as the entry point for crawling web content, file systems, and data stores.
     * It manages the crawling lifecycle, including initialization, execution coordination,
     * monitoring, and cleanup operations.
     *
     * <p>The crawler can operate in different modes based on command-line options:
     * <ul>
     * <li>Web crawling - crawls web sites and web content</li>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

            return super.hookBefore(runtime);
        }
    
        /**
         * Hook method called after action execution completes.
         * <p>
         * This method performs cleanup operations by calling the parent hook.
         * </p>
         *
         * @param runtime the action runtime context
         */
        @Override
        public void hookFinally(final ActionRuntime runtime) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top