- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for store (0.05 sec)
-
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java
accessResult1.setRuleId("htmlRule"); accessResult1.setSessionId("id1"); accessResult1.setStatus(200); accessResult1.setUrl("http://www.id1.com/"); dataService.store(accessResult1); final OpenSearchAccessResult accessResult2 = dataService.getAccessResult("id1", "http://www.id1.com/"); assertNotNull(accessResult2); accessResult2.setMimeType("text/html");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 6.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java
*/ public ContentLengthHelper() { // Default constructor } /** Default maximum content length set to 10MB */ protected long defaultMaxLength = 10L * 1024L * 1024L; /** Map to store maximum content lengths for specific MIME types */ protected Map<String, Long> maxLengthMap = new HashMap<>(); /** * Adds a maximum content length for a specific MIME type.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java
*/ public DataServiceImpl() { // Default constructor } /** * Stores an access result in the data store. * * @param accessResult the access result to store * @throws CrawlerSystemException if the access result is null or already exists */ @Override public void store(final AccessResultImpl<Long> accessResult) { if (accessResult == null) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java
* * @param <RESULT> the type of access result */ public interface DataService<RESULT extends AccessResult<?>> { /** * Stores the given access result. * * @param accessResult the access result to store */ void store(RESULT accessResult); /** * Updates the given access result. * * @param accessResult the access result to update */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/DataServiceImplTest.java
accessResult1.setRuleId("htmlRule"); accessResult1.setSessionId("id1"); accessResult1.setStatus(200); accessResult1.setUrl("http://www.id1.com/"); dataService.store(accessResult1); final AccessResult accessResult2 = dataService.getAccessResult("id1", "http://www.id1.com/"); assertNotNull(accessResult2); accessResult2.setMimeType("text/html");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlFilterServiceImpl.java
* This class provides methods for managing URL filtering rules, * including adding include and exclude URL patterns, deleting patterns, * and retrieving lists of compiled URL patterns. It utilizes a * {@link MemoryDataHelper} to store and manage the URL patterns in memory. * */ public class UrlFilterServiceImpl implements UrlFilterService { /** * Creates a new UrlFilterServiceImpl instance. */ public UrlFilterServiceImpl() {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java
/** * HostIntervalController is an implementation of {@link org.codelibs.fess.crawler.interval.IntervalController} * that controls the interval between requests to the same host. * It uses a ConcurrentMap to store the last access time for each host. * The delayBeforeProcessing method is overridden to introduce a delay before processing a URL, * ensuring that requests to the same host are not made too frequently.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java
* only one of them (allRequired = false). It also supports a default rule that always matches. * * <p> * The class uses a map of field names to Pattern objects to store the regular expressions. * The match method extracts the values of the specified fields from the ResponseData and * applies the corresponding regular expressions. * </p> * * <p> * Example usage: * </p> *
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java
* This class provides methods for managing a queue of URLs to be crawled, * including adding, deleting, and retrieving URLs from the queue. * It uses a {@link MemoryDataHelper} to store the URL queue data in memory. * * <p> * The class is responsible for: * </p> * <ul> * <li>Updating session IDs for URL queues.</li> * <li>Adding new URLs to the queue.</li>Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java
import org.codelibs.fess.crawler.entity.AccessResultImpl; import org.codelibs.fess.crawler.entity.UrlQueueImpl; /** * The {@code MemoryDataHelper} class provides a helper for managing crawler data in memory. * It stores URL queues, access results, and URL patterns for inclusion and exclusion. * This class is designed to be used in a single-threaded environment or with external synchronization. *Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.1K bytes - Viewed (0)