Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for count (0.1 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

            // CrawlerContext crawlerContext = (CrawlerContext) objs[0];
        }
    
        /**
         * Processes no URL in queue log events.
         *
         * @param objs the log objects (should contain UrlQueue and thread check count)
         */
        protected void processNoUrlInQueue(final Object... objs) {
            // CrawlerContext crawlerContext = (CrawlerContext) objs[0];
            final UrlQueue<?> urlQueue = (UrlQueue<?>) objs[1];
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java

         *
         * @param accessResult the list of access results to update
         */
        void update(List<RESULT> accessResult);
    
        /**
         * Returns the count of access results for the given session ID.
         *
         * @param sessionId the session ID
         * @return the count of access results
         */
        int getCount(String sessionId);
    
        /**
         * Deletes access results for the given session ID.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

         *
         * @return the maximum duplicated path count
         */
        public int getMaxDuplicatedPath() {
            return maxDuplicatedPath;
        }
    
        /**
         * Sets the maximum number of duplicated paths to attempt.
         *
         * @param maxDuplicatedPath the maximum duplicated path count to set
         */
        public void setMaxDuplicatedPath(final int maxDuplicatedPath) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

                }
                arMap.put(accessResult.getUrl(), accessResult);
            }
    
        }
    
        /**
         * Gets the count of access results for the specified session.
         *
         * @param sessionId the session ID
         * @return the count of access results
         */
        @Override
        public int getCount(final String sessionId) {
            return dataHelper.getAccessResultMap(sessionId).size();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

     * NodeList nodes = xPathAPI.selectNodeList(contextNode, "//example");
     * Node singleNode = xPathAPI.selectSingleNode(contextNode, "//example[1]");
     * XPathEvaluationResult<?> result = xPathAPI.eval(contextNode, "count(//example)");
     * }
     * </pre>
     *
     * <p>Note: This class is not thread-safe. Each thread should create its own instance of XPathAPI.</p>
     *
     * @see javax.xml.xpath.XPath
     * @see javax.xml.xpath.XPathFactory
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

        protected boolean noWaitOnFolder = false;
    
        /**
         * Increments the active thread count.
         */
        protected void startCrawling() {
            synchronized (crawlerContext.activeThreadCountLock) {
                crawlerContext.activeThreadCount++;
            }
        }
    
        /**
         * Decrements the active thread count.
         */
        protected void finishCrawling() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

         */
        public void setNumOfThread(final int numOfThread) {
            crawlerContext.numOfThread = numOfThread;
        }
    
        /**
         * Sets the maximum thread check count.
         * @param maxThreadCheckCount The maximum thread check count.
         */
        public void setMaxThreadCheckCount(final int maxThreadCheckCount) {
            crawlerContext.maxThreadCheckCount = maxThreadCheckCount;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

            try {
                final Object content = message.getContent();
                if (content instanceof final Multipart multipart) {
                    final int count = multipart.getCount();
                    for (int i = 0; i < count; i++) {
                        final BodyPart bodyPart = multipart.getBodyPart(i);
                        if (Part.ATTACHMENT.equalsIgnoreCase(bodyPart.getDisposition())) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

            accessResult.init(responseData, resultData);
            return accessResult;
        }
    
        /**
         * Checks if the access count is within the allowed limit.
         *
         * @param crawlerContext the crawler context
         * @return true if access count is within limit, false otherwise
         */
        protected boolean checkAccessCount(final CrawlerContext crawlerContext) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            // Test decrement below zero
            assertEquals(-1L, crawlerContext.decrementAndGetAccessCount());
            assertEquals(-1L, crawlerContext.getAccessCount());
        }
    
        /**
         * Test concurrent access count operations
         */
        public void test_accessCount_concurrent() throws Exception {
            final int threadCount = 100;
            final int operationsPerThread = 1000;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top