Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for dequeue (0.02 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

     * }
     * </pre>
     */
    public class ESSourceReader implements DocumentReader {
        private static final Logger logger = LogManager.getLogger(ESSourceReader.class);
    
        /** Queue of documents. */
        protected final Queue<Map<String, Object>> queue = new ConcurrentLinkedQueue<>();
        /** Flag indicating if reading is finished. */
        protected final AtomicBoolean isFinished = new AtomicBoolean(false);
        /** Random number generator. */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

            }
            log(logHelper, LogType.FINISHED_THREAD, crawlerContext);
        }
    
        /**
         * Adds sitemaps from robots.txt to the crawling queue.
         * @param urlQueue The URL queue to add sitemaps to.
         */
        protected void addSitemapsFromRobotsTxt(final UrlQueue<?> urlQueue) {
            final String[] sitemaps = crawlerContext.removeSitemaps();
            if (sitemaps != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

    /**
     * The UrlQueue interface represents a queue of URLs to be processed by a web crawler.
     * It provides methods to get and set various properties of a URL queue entry.
     *
     * @param <IDTYPE> the type of the identifier for the URL queue entry
     */
    public interface UrlQueue<IDTYPE> {
    
        /**
         * Retrieves the unique identifier of the URL queue.
         *
         * @return the unique identifier of type IDTYPE.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlQueueService.java

        /**
         * Adds a URL to the queue.
         *
         * @param sessionId The session ID.
         * @param url The URL.
         */
        void add(String sessionId, String url);
    
        /**
         * Inserts a URL queue.
         *
         * @param urlQueue The URL queue.
         */
        void insert(QUEUE urlQueue);
    
        /**
         * Deletes a URL queue.
         *
         * @param sessionId The session ID.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java

     *   <li>Before processing a URL ({@link #delayBeforeProcessing()})</li>
     *   <li>After processing a URL ({@link #delayAfterProcessing()})</li>
     *   <li>When there are no URLs in the queue ({@link #delayAtNoUrlInQueue()})</li>
     *   <li>While waiting for new URLs to be added to the queue ({@link #delayForWaitingNewUrl()})</li>
     * </ul>
     *
     * <p>
     * Subclasses are responsible for implementing the abstract methods to define the actual delay
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                // Default constructor
            }
    
            /**
             * The queue for URLs waiting to be crawled.
             */
            protected Queue<OpenSearchUrlQueue> waitingQueue = new ConcurrentLinkedQueue<>();
    
            /**
             * The queue for URLs currently being crawled.
             */
            protected Queue<OpenSearchUrlQueue> crawlingQueue = new ConcurrentLinkedQueue<>();
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (1)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

        /** The metadata associated with the URL queue. */
        protected String metaData;
    
        /** The encoding of the URL queue. */
        protected String encoding;
    
        /** The parent URL of the current URL in the queue. */
        protected String parentUrl;
    
        /** The depth of the URL in the queue. */
        protected Integer depth;
    
        /** The last modified timestamp of the URL in the queue. */
        protected Long lastModified;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            assertTrue(fesenClient.prepareSearch("fess_crawler.queue")
                    .setQuery(QueryBuilders.termQuery("sessionId", "id1"))
                    .execute()
                    .actionGet()
                    .getHits()
                    .getTotalHits()
                    .value() > 0);
            assertTrue(fesenClient.prepareSearch("fess_crawler.queue")
                    .setQuery(QueryBuilders.termQuery("sessionId", "id2"))
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

            final Queue<String> queue = new LinkedList<>();
            queue.add(text);
            final List<String> convertedTexts = new ArrayList<>(getMaxReadingNum());
            convertedTexts.add(text);
    
            for (final ReadingConverter converter : converters) {
                String s;
                while ((s = queue.poll()) != null && convertedTexts.size() <= getMaxReadingNum()) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

    import org.codelibs.fess.crawler.service.UrlQueueService;
    
    import jakarta.annotation.Resource;
    
    /**
     * The Crawler class is the main class for web crawling. It manages the crawling process,
     * including adding URLs to the queue, filtering URLs, managing crawler threads,
     * and handling the overall crawling lifecycle.
     *
     * <p>It implements the Runnable interface to be executed in a separate thread,
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top