Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for thead (0.81 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

                    throw new IOException("Failed to access " + url, e);
                }
            }
    
            /**
             * Gets the object head response from the S3 service.
             * This method caches the response to avoid repeated calls.
             *
             * @return The object head response
             * @throws IOException If an error occurs
             */
            private HeadObjectResponse getHeadObject() throws IOException {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                        if (fessConfig.isSmbRoleFromFile() || fessConfig.isFileRoleFromFile() || fessConfig.isFtpRoleFromFile()) {
                            // head method
                            responseData =
                                    client.execute(RequestDataBuilder.newRequestData().head().url(url).weight(urlQueue.getWeight()).build());
                            if (responseData == null) {
                                return true;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CrawlingParameterUtil.java

         *
         * @return the {@link UrlQueue} instance associated with the current thread, or {@code null} if none is set.
         */
        public static UrlQueue<?> getUrlQueue() {
            return URL_QUEUE_THREAD_LOCAL.get();
        }
    
        /**
         * Sets the URL queue for the current thread. If the provided URL queue is null,
         * the URL queue for the current thread is removed.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

            // start
            AccessTimeoutTarget accessTimeoutTarget = null;
            TimeoutTask accessTimeoutTask = null;
            if (accessTimeout != null) {
                accessTimeoutTarget = new AccessTimeoutTarget(Thread.currentThread());
                accessTimeoutTask = TimeoutManager.getInstance().addTimeoutTarget(accessTimeoutTarget, accessTimeout, false);
            }
    
            try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

        /**
         * Priority for crawler threads.
         */
        protected int threadPriority = Thread.NORM_PRIORITY;
    
        /**
         * Reference to the parent thread that started the crawler.
         */
        protected Thread parentThread;
    
        /**
         * The thread group for crawler threads.
         */
        protected ThreadGroup crawlerThreadGroup;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/CurlRequest.java

            } catch (final UnsupportedEncodingException e) {
                throw new CurlException("Invalid encoding: " + encoding, e);
            }
        }
    
        /**
         * Sets the thread pool for executing the request.
         *
         * @param threadPool the thread pool
         * @return this CurlRequest instance
         */
        public CurlRequest threadPool(final ForkJoinPool threadPool) {
            this.threadPool = threadPool;
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java

            Set<String> valueSet = Collections.synchronizedSet(new HashSet<>());
            Thread[] threads = new Thread[threadNum];
            ESSourceReader reader = new ESSourceReader(client, settings, indexName);
            reader.setScrollSize(100);
            for (int i = 0; i < threadNum; i++) {
                threads[i] = new Thread(() -> {
                    Map<String, Object> source;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 13:04:17 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

            this.crawlingExecutionInterval = crawlingExecutionInterval;
        }
    
        /**
         * Sets the thread priority for crawler threads.
         * This priority will be applied to all newly created crawler threads.
         *
         * @param crawlerPriority thread priority (typically Thread.MIN_PRIORITY to Thread.MAX_PRIORITY)
         */
        public void setCrawlerPriority(final int crawlerPriority) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/LruHashMap.java

     * <p>
     * <strong>Thread-Safety:</strong> This class is <strong>NOT thread-safe</strong>.
     * It extends {@link LinkedHashMap} without synchronization. If multiple threads access
     * an instance concurrently, and at least one thread modifies the map structurally,
     * it must be synchronized externally.
     * </p>
     * <p>
     * For thread-safe usage, wrap with {@link java.util.Collections#synchronizedMap(Map)}:
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

     * The delay is calculated based on the configured delayMillisBeforeProcessing parameter.
     * If the time since the last request to the host is less than the configured delay,
     * the thread waits until the delay has elapsed.
     * This class is thread-safe.
     * The cache automatically evicts entries after 1 hour of inactivity to prevent memory leaks.
     */
    public class HostIntervalController extends DefaultIntervalController {
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top