Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for scenarios (0.25 sec)

  1. src/main/java/org/codelibs/core/collection/LruHashMap.java

     * </p>
     * <pre>
     * Map&lt;K, V&gt; syncMap = Collections.synchronizedMap(new LruHashMap&lt;&gt;(100));
     * </pre>
     * <p>
     * Alternatively, for high-concurrency scenarios, consider implementing a custom
     * LRU cache using {@link java.util.concurrent.ConcurrentHashMap} with an eviction strategy.
     * </p>
     *
     * @author koichik
     * @param <K> the key type
     * @param <V> the value type
     */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. CLAUDE.md

    - `CurlResponseTest`: Tests for response handling, status codes, content retrieval, resource management
    - `CurlExceptionTest`: Tests for exception handling and error scenarios
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/CrawlJob.java

     *
     * <p>The job supports selective crawling by specifying configuration IDs for different
     * types of crawlers (web, file, data). It manages the crawler process lifecycle,
     * handles timeout scenarios, and ensures proper cleanup of resources.</p>
     *
     * <p>Key features:</p>
     * <ul>
     *   <li>Concurrent crawler process management with configurable limits</li>
     *   <li>Selective crawling based on configuration IDs</li>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

     * using the Apache Tika library. It extends {@link PasswordBasedExtractor} to handle password-protected files.
     * </p>
     *
     * <p>
     * This class provides methods to extract text from an input stream, handling different scenarios such as:
     * </p>
     * <ul>
     *   <li>Normalizing text content</li>
     *   <li>Handling resource names and content types</li>
     *   <li>Retrying extraction without resource name or content type if the initial attempt fails</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ExtractDataTest.java

            String result = data.toString();
            assertNotNull(result);
            assertTrue(result.contains("ExtractData"));
        }
    
        public void test_complexScenario() {
            // Test complex scenario with multiple operations
            ExtractData data = new ExtractData();
    
            // Set content
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            Handler handler = new Handler();
            Handler.GcsURLConnection conn = (Handler.GcsURLConnection) handler.openConnection(url);
    
            // Ensure environment variables are not set (in real scenario)
            // In this test, we expect IOException when project ID is blank
            try {
                conn.connect();
                fail("Should throw IOException when project ID is not set");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            // data1 should also be modified (same object)
            assertEquals("https://modified.com", data1.getUrl());
        }
    
        public void test_complexScenarioWithGet() {
            // Test complex scenario with GET method
            RequestData data = RequestDataBuilder.newRequestData().get().url("https://api.example.com/users/123").weight(0.8f).build();
    
            assertEquals(Method.GET, data.getMethod());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            Handler handler = new Handler();
            Handler.StorageURLConnection conn = (Handler.StorageURLConnection) handler.openConnection(url);
    
            // Ensure environment variables are not set (in real scenario)
            // In this test, we expect IOException when endpoint is blank
            try {
                conn.connect();
                fail("Should throw IOException when endpoint is not set");
            } catch (IOException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top