Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for offerAll (0.11 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

            dataHelper.clearUrlQueueList();
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.service.UrlQueueService#offerAll(java.lang.String,
         * java.util.List)
         */
        @Override
        public void offerAll(final String sessionId, final List<UrlQueueImpl<Long>> newUrlQueueList) {
            final Queue<UrlQueueImpl<Long>> urlQueueList = dataHelper.getUrlQueueList(sessionId);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

                    crawlerContext.decrementAndGetAccessCount();
                    final List<UrlQueue<?>> newUrlQueueList = new ArrayList<>();
                    newUrlQueueList.add(urlQueue);
                    urlQueueService.offerAll(crawlerContext.getSessionId(), newUrlQueueList);
                }
            } else if (logger.isDebugEnabled()) {
                logger.debug("Visited urlQueue: {}", urlQueue);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TopKSelector.java

       * {@link Ordering#leastOf(Iterable, int)}, which provides a simpler API for that use case.
       */
      public void offerAll(Iterable<? extends T> elements) {
        offerAll(elements.iterator());
      }
    
      /**
       * Adds each member of {@code elements} as a candidate for the top {@code k} elements. This
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                        uq.setUrl(d.getUrl());
                        uq.setMetaData(d.getMetaData());
                        return uq;
                    }).collect(Collectors.toList());
            urlQueueService.offerAll(crawlerContext.sessionId, childList);
        }
    
        protected void storeChildUrl(final String childUrl, final String parentUrl, final String metaData, final int depth) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlQueueService.java

        void add(String sessionId, String url);
    
        void insert(QUEUE urlQueue);
    
        void delete(String sessionId);
    
        void deleteAll();
    
        void offerAll(String sessionId, List<QUEUE> newUrlQueueList);
    
        QUEUE poll(String sessionId);
    
        void saveSession(String sessionId);
    
        boolean visited(QUEUE urlQueue);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                }
                throw e;
            }
        }
    
        @Override
        public void delete(final String sessionId) {
            deleteBySessionId(sessionId);
        }
    
        @Override
        public void offerAll(final String sessionId, final List<OpenSearchUrlQueue> urlQueueList) {
            if (logger.isDebugEnabled()) {
                logger.debug("Offering URL: Session ID: {}, UrlQueue: {}", sessionId, urlQueueList);
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

            list.subList(k, list.size()).clear();
          }
          list.trimToSize();
          return unmodifiableList(list);
        } else {
          TopKSelector<E> selector = TopKSelector.least(k, this);
          selector.offerAll(iterator);
          return selector.topK();
        }
      }
    
      /**
       * Returns the {@code k} greatest elements of the given iterable according to this ordering, in
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Ordering.java

            list.subList(k, list.size()).clear();
          }
          list.trimToSize();
          return unmodifiableList(list);
        } else {
          TopKSelector<E> selector = TopKSelector.least(k, this);
          selector.offerAll(iterator);
          return selector.topK();
        }
      }
    
      /**
       * Returns the {@code k} greatest elements of the given iterable according to this ordering, in
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top