Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for setSessionId (0.15 sec)

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

            final Queue<UrlQueueImpl<Long>> urlQueueList = dataHelper.getUrlQueueList(sessionId);
            synchronized (urlQueueList) {
                final UrlQueueImpl<Long> urlQueue = new UrlQueueImpl<>();
                urlQueue.setSessionId(sessionId);
                urlQueue.setMethod(Constants.GET_METHOD);
                urlQueue.setUrl(url);
                urlQueue.setUrl(url);
                urlQueue.setDepth(0);
    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-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

                    });
        }
    
        @Override
        public void addIncludeUrlFilter(final String sessionId, final String url) {
            final OpenSearchUrlFilter esUrlFilter = new OpenSearchUrlFilter();
            esUrlFilter.setSessionId(sessionId);
            esUrlFilter.setFilterType(INCLUDE);
            esUrlFilter.setUrl(url);
            insert(esUrlFilter, OpType.INDEX);
            includeFilterCache.invalidate(sessionId);
        }
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            urlQueue.setSessionId("id1");
            urlQueue.setUrl("http://www.id1.com/");
    
            urlQueueService.insert(urlQueue);
    
            final OpenSearchUrlQueue urlQueue2 = new OpenSearchUrlQueue();
            urlQueue2.setCreateTime(System.currentTimeMillis());
            urlQueue2.setDepth(1);
            urlQueue2.setMethod("GET");
            urlQueue2.setSessionId("id2");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            accessResult1.setMethod("GET");
            accessResult1.setMimeType("text/plain");
            accessResult1.setParentUrl("http://www.parent.com/");
            accessResult1.setRuleId("htmlRule");
            accessResult1.setSessionId("id1");
            accessResult1.setStatus(200);
            accessResult1.setUrl("http://www.id1.com/");
    
            dataService.store(accessResult1);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                                responseData.setExecutionTime(SystemUtil.currentTimeMillis() - startTime);
                                responseData.setParentUrl(urlQueue.getParentUrl());
                                responseData.setSessionId(crawlerContext.sessionId);
    
                                if (responseData.getRedirectLocation() == null) {
                                    log(logHelper, LogType.PROCESS_RESPONSE, crawlerContext, urlQueue, responseData);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

        @Override
        public String getSessionId() {
            return sessionId;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#setSessionId(java.lang.String)
         */
        @Override
        public void setSessionId(final String sessionId) {
            this.sessionId = sessionId;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#getMethod()
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        /** a max count to access urls. 0 is no limit to access it. */
        protected long maxAccessCount = 0;
    
        public String getSessionId() {
            return sessionId;
        }
    
        public void setSessionId(final String sessionId) {
            this.sessionId = sessionId;
        }
    
        public Integer getActiveThreadCount() {
            return activeThreadCount;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

        public void add(final String sessionId, final String url) {
            if (exists(sessionId, url)) {
                return;
            }
            final OpenSearchUrlQueue urlQueue = new OpenSearchUrlQueue();
            urlQueue.setSessionId(sessionId);
            urlQueue.setUrl(url);
            urlQueue.setCreateTime(System.currentTimeMillis());
            urlQueue.setLastModified(0L);
            urlQueue.setDepth(0);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingInfo.java

        private static final long serialVersionUID = 1L;
    
        private List<CrawlingInfoParam> crawlingInfoParamList;
    
        public CrawlingInfo() {
        }
    
        public CrawlingInfo(final String sessionId) {
            setSessionId(sessionId);
        }
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        public Long getVersionNo() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

    /**
     * @author shinsuke
     *
     */
    public interface UrlQueue<IDTYPE> {
    
        IDTYPE getId();
    
        void setId(IDTYPE id);
    
        String getSessionId();
    
        void setSessionId(String sessionId);
    
        String getMethod();
    
        void setMethod(String method);
    
        String getUrl();
    
        void setUrl(String url);
    
        String getMetaData();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top