Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Lifecycle (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

    /**
     * A container implementation that manages the lifecycle and dependency injection of components
     * in a crawler application. This container supports both singleton and prototype component
     * instantiation patterns.
     *
     * <p>The container provides mechanisms for:
     * <ul>
     *   <li>Registering and retrieving components by name</li>
     *   <li>Managing singleton instances with lifecycle hooks</li>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

     *
     * <p>The client supports a RequestListener interface to monitor the request lifecycle and handle
     * exceptions during retries.</p>
     *
     * <p>Key features:</p>
     * <ul>
     *   <li>Configurable maximum retry attempts</li>
     *   <li>Adjustable interval between retries</li>
     *   <li>Exception tracking and aggregation</li>
     *   <li>Request lifecycle monitoring through listener</li>
     * </ul>
     *
     * <p>By default, it will:</p>
     * <ul>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

                return null;
            }
        }
    
        /**
         * Test state transitions (typical workflow)
         */
        public void test_stateTransitions() {
            // Simulate typical crawler lifecycle
            CrawlerStatus currentStatus = CrawlerStatus.INITIALIZING;
            assertEquals(CrawlerStatus.INITIALIZING, currentStatus);
    
            // Transition to RUNNING
            currentStatus = CrawlerStatus.RUNNING;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            // Remove listener
            factory.setOnDestroyListener(null);
            factory.destroyObject(pooledObject);
            assertEquals(2, callOrder.size()); // Should not add more
        }
    
        /**
         * Test lifecycle: create, wrap, destroy
         */
        public void test_fullLifecycle() throws Exception {
            TestComponent.resetCounter();
            factory.setComponentName("testComponent");
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

    /**
     * The Crawler class is the main class for web crawling. It manages the crawling process,
     * including adding URLs to the queue, filtering URLs, managing crawler threads,
     * and handling the overall crawling lifecycle.
     *
     * <p>It implements the Runnable interface to be executed in a separate thread,
     * and the AutoCloseable interface to ensure resources are properly released after use.
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    }
                }
            }
        }
    
        /**
         * Processes an HTTP method request and returns the response data.
         * This method handles the complete HTTP request lifecycle including content processing,
         * redirect handling, and error management.
         *
         * @param url The URL being accessed
         * @param httpRequest The HTTP request to process
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            return processRequest(uri, true);
        }
    
        /**
         * Processes an FTP request to retrieve data from the specified URI.
         * This method handles the complete FTP request lifecycle including timeout management,
         * connection setup, and data retrieval.
         *
         * @param uri The URI to retrieve data from
         * @param includeContent Whether to include the actual content in the response
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top