- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for running (0.03 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
} else if (status == CrawlerStatus.RUNNING) { // Expected assertTrue(true); } else if (status == CrawlerStatus.DONE) { fail("Should not be DONE"); } // Test with ternary operator String message = (status == CrawlerStatus.RUNNING) ? "Running" : "Not Running"; assertEquals("Running", message); // Test with logical operators
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
* It is used to interrupt a running thread when a timeout occurs. * The class provides methods to interrupt the thread and stop the timeout target. * * <p> * The class uses a logger to log debug messages. * It also uses an AtomicBoolean to track whether the thread is running. * </p> * * <p> * The expired method is called when a timeout occurs. * It interrupts the running thread up to a maximum number of times.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.8K bytes - Viewed (0) -
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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerStatus.java
package org.codelibs.fess.crawler; /** * Enum representing the status of a crawler. * It can be INITIALIZING, RUNNING, or DONE. */ public enum CrawlerStatus { /** * The crawler is initializing. */ INITIALIZING, /** * The crawler is currently running. */ RUNNING, /** * The crawler has completed its task. */ DONE;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 997 bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 7.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
final String sessionId = crawler.execute(); // Wait for crawler to start running with polling long startTime = System.currentTimeMillis(); while (crawler.crawlerContext.getStatus() != CrawlerStatus.RUNNING && System.currentTimeMillis() - startTime < 5000) { try { Thread.sleep(50);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 19.1K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
final String sessionId = crawler.execute(); // Wait for crawler to start running with polling long startTime = System.currentTimeMillis(); while (crawler.crawlerContext.getStatus() != CrawlerStatus.RUNNING && System.currentTimeMillis() - startTime < 5000) { try { Thread.sleep(50);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 12.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
*/ public void test_status() { assertEquals(CrawlerStatus.INITIALIZING, crawlerContext.getStatus()); crawlerContext.setStatus(CrawlerStatus.RUNNING); assertEquals(CrawlerStatus.RUNNING, crawlerContext.getStatus()); crawlerContext.setStatus(CrawlerStatus.DONE); assertEquals(CrawlerStatus.DONE, crawlerContext.getStatus()); crawlerContext.setStatus(null);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/main/java/org/codelibs/fess/crawler/Crawler.java
* @return The CrawlerClientFactory instance. */ public CrawlerClientFactory getClientFactory() { return clientFactory; } /** * Checks if the crawler is running in background mode. * @return true if in background mode, false otherwise. */ public boolean isBackground() { return background; } /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14K bytes - Viewed (0) -
README.md
```bash # Run all tests mvn test # Run specific test class mvn test -Dtest=SuggesterTest # Run with verbose output mvn surefire:test -Dmaven.surefire.debug=true ``` ### Running Tests with Coverage ```bash mvn clean jacoco:prepare-agent test jacoco:report ``` Coverage reports are generated in `target/site/jacoco/`. ## Common Use Cases ### E-commerce Search
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sun Aug 31 03:31:14 UTC 2025 - 12.1K bytes - Viewed (1)