Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for SessionId (0.12 sec)

  1. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

            final JobProcess jobProcess = runningProcessMap.remove(sessionId);
            return destroyProcess(sessionId, jobProcess);
        }
    
        public boolean isProcessRunning() {
            return !runningProcessMap.isEmpty();
        }
    
        public boolean isProcessRunning(final String sessionId) {
            final JobProcess jobProcess = runningProcessMap.get(sessionId);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlFilterServiceImpl.java

        public void addIncludeUrlFilter(final String sessionId, final String url) {
            dataHelper.addIncludeUrlPattern(sessionId, url);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.service.impl.UrlFilterService#addIncludeUrlFilter(java
         * .lang.String, java.util.List)
         */
        @Override
        public void addIncludeUrlFilter(final String sessionId, final List<String> urlList) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

            cachedExcludeSet.clear();
            if (sessionId != null) {
                getUrlFilterService().delete(sessionId);
            }
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.filter.UrlFilter#init(java.lang.String)
         */
        @Override
        public void init(final String sessionId) {
            this.sessionId = sessionId;
            if (!cachedIncludeSet.isEmpty()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/BsCrawlingInfo.java

            this.name = value;
        }
    
        public String getSessionId() {
            checkSpecifiedProperty("sessionId");
            return convertEmptyToNull(sessionId);
        }
    
        public void setSessionId(String value) {
            registerModifiedProperty("sessionId");
            this.sessionId = value;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlFilter.java

        public void setId(final String id) {
            this.id = id;
        }
    
        public String getSessionId() {
            return sessionId;
        }
    
        public void setSessionId(final String sessionId) {
            this.sessionId = sessionId;
        }
    
        public String getFilterType() {
            return filterType;
        }
    
        public void setFilterType(final String filterType) {
            this.filterType = filterType;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

            final String sessionId = "id1";
            urlFilter.init(sessionId);
            assertEquals(0, urlFilter.cachedIncludeSet.size());
            assertEquals(0, urlFilter.cachedExcludeSet.size());
            assertEquals(1, dataHelper.getIncludeUrlPatternList(sessionId).size());
            assertEquals(0, dataHelper.getExcludeUrlPatternList(sessionId).size());
        }
    
        public void test_addInclude2() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

        }
    
        public String getSessionId() {
            return crawlerContext.sessionId;
        }
    
        public void setSessionId(final String sessionId) {
            if (StringUtil.isNotBlank(sessionId) && !sessionId.equals(crawlerContext.sessionId)) {
                urlQueueService.updateSessionId(crawlerContext.sessionId, sessionId);
                crawlerContext.sessionId = sessionId;
            }
        }
    
        public String execute() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            assertNull(pathMappingHelper.getPathMappingList(sessionId + "1"));
            pathMappingHelper.removePathMappingList(sessionId);
            assertNull(pathMappingHelper.getPathMappingList(sessionId));
            assertNull(pathMappingHelper.getPathMappingList(sessionId + "1"));
    
        }
    
        public void test_replaceUrl() {
            final String sessionId = "test";
            final List<PathMapping> pathMappingList = new ArrayList<PathMapping>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

         * java.lang.String)
         */
        @Override
        public void add(final String sessionId, final String url) {
            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);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            urlQueue.setSessionId("sessionId");
            urlQueue.setUrl("http://www.example.com/");
    
            urlQueueService.insert(urlQueue);
            assertTrue(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0)
                    .execute().actionGet().getHits().getTotalHits().value > 0);
    
            urlQueueService.delete("sessionId");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top