- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 92 for Thread (0.03 sec)
-
README.md
service.setPort(9200); }); ``` ## Performance Tuning ### Thread Configuration ```java // Optimize thread pool settings crawler.crawlerContext.setNumOfThread(20); // Number of crawler threads crawler.crawlerContext.setMaxThreadCheckCount(50); // Thread monitoring frequency ``` ### Connection Pool Tuning ```java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
public class DeferredTest { @Test public void test_doneBeforeResolve() throws Exception { final Deferred<SuggestResponse> deferred = new Deferred<>(); Thread th = new Thread(() -> { try { Thread.sleep(1000); } catch (InterruptedException ignore) {} deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null)); }); th.start();Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
successCount.incrementAndGet(); } } catch (InterruptedException e) { Thread.currentThread().interrupt(); } finally { endLatch.countDown(); } } }); Thread thread2 = new Thread(new Runnable() {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
urlFilter.init(sessionId); // Create multiple threads adding patterns Thread thread1 = new Thread(() -> { for (int i = 0; i < 100; i++) { urlFilter.addInclude("https://site" + i + ".com/.*"); } }); Thread thread2 = new Thread(() -> { for (int i = 0; i < 100; i++) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java
/** The thread being monitored. */ protected Thread runningThread; /** Flag indicating if the thread is still running. */ protected AtomicBoolean running = new AtomicBoolean(); /** * Constructs an AccessTimeoutTarget with the specified thread. * @param thread The thread to monitor. */ public AccessTimeoutTarget(final Thread thread) { runningThread = thread;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
import jakarta.annotation.Resource; /** * The {@code CrawlerThread} class represents a thread that executes the crawling process. * It is responsible for fetching URLs from the queue, accessing the content, * processing the response, and extracting child URLs. * * <p> * This class implements the {@link Runnable} interface, allowing it to be executed in a separate thread.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 20.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java
*/ public void setTimeout(final long timeout) { this.timeout = timeout; } /** * Sets whether the extraction thread should be a daemon thread. * @param isDaemonThread true to make it a daemon thread, false otherwise. */ public void setDaemonThread(final boolean isDaemonThread) { this.isDaemonThread = isDaemonThread; }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java
* <p> * The context includes information such as the session ID, active thread count, access count, crawler status, * URL filter, rule manager, interval controller, robots.txt URL set, sitemaps, number of threads, * maximum thread check count, maximum depth, and maximum access count. * </p> * * <p> * It also provides thread-local storage for sitemaps, allowing each thread to have its own set of sitemaps. * </p> */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.9K bytes - Viewed (0)