- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 94 for cleanUp (0.04 sec)
-
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 13.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
} } } /** * Cleans up the crawled data for a given session. * Deletes URL queue data and access result data, and clears the URL filter. * @param sessionId The session ID to clean up. */ public void cleanup(final String sessionId) { if (logger.isInfoEnabled()) { logger.info("Starting crawler cleanup: sessionId={}", sessionId); } try {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 9.4K bytes - Viewed (0) -
CLAUDE.md
// Iterate all ds.iterate(sessionId, accessResult -> { System.out.println(accessResult.getUrl()); System.out.println(accessResult.getContent()); }); // Cleanup ds.delete(sessionId); ``` ### Resource Cleanup Pattern ```java // Always use try-with-resources for ResponseData try (ResponseData responseData = client.execute(requestData)) { // Process } // Temp files auto-deleted
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 28 17:31:34 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java
this.numOfThreads = numOfThreads; return this; } /** * Enables cleanup operations for this job. * * @return this job instance for method chaining */ public GenerateThumbnailJob cleanup() { cleanup = true; return this; } @Override public String execute() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 11.7K bytes - Viewed (0) -
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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 32.9K bytes - Viewed (0) -
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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 19K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
import jakarta.annotation.Resource; /** * A factory class for managing and creating crawler clients based on URL patterns. * This class implements AutoCloseable to properly handle resource cleanup. * * <p>The factory maintains a map of regular expression patterns to crawler clients, * allowing for URL-based client selection. Clients can be added with specific patterns
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
* Initializes the process management system with default timeout values. */ public ProcessHelper() { // Default constructor } /** * Cleanup method called when the bean is destroyed. * Stops all running processes and cleans up resources. */ @PreDestroy public void destroy() { for (final String sessionId : runningProcessMap.keySet()) { if (logger.isInfoEnabled()) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 06:54:47 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
assertEquals("Braces should be balanced", openBraces, closeBraces); } } /** * Test that InputStream is properly closed even when exception occurs. * Verifies try-with-resources cleanup behavior. */ @Test public void testResourceLoading_exceptionHandling() { try {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0)