Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 117 for inject (0.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

    import org.codelibs.fess.crawler.pool.CrawlerPooledObjectFactory.OnDestroyListener;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class for CrawlerPooledObjectFactory.
     * Tests the pooled object factory functionality including object creation,
     * wrapping, destruction, and listener mechanisms.
     */
    public class CrawlerPooledObjectFactoryTest extends PlainTestCase {
    
        private CrawlerPooledObjectFactory<TestComponent> factory;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            Thread th = new Thread(() -> {
                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.reject(new Exception());
            });
            th.start();
    
            final CountDownLatch latch = new CountDownLatch(1);
            deferred.promise().error(error -> latch.countDown());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            urlQueueService.insert(urlQueue);
    
            final OpenSearchUrlQueue urlQueue2 = new OpenSearchUrlQueue();
            urlQueue2.setCreateTime(System.currentTimeMillis());
            urlQueue2.setDepth(1);
            urlQueue2.setMethod("GET");
            urlQueue2.setSessionId("id2");
            urlQueue2.setUrl("http://www.id2.com/");
    
            urlQueueService.insert(urlQueue2);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

            factory.setClientMap(clientMap);
        }
    
        /**
         * Compares this wrapper to another object for equality.
         * Equality is determined by the wrapped factory.
         * @param obj The object to compare.
         * @return true if equal, false otherwise.
         */
        @Override
        public boolean equals(final Object obj) {
            return factory.equals(obj);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (10)
  5. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

        }
    
        /**
         * Converts the given object to a list of strings.
         * <p>
         * If the object is null, an empty list is returned.
         * If the object is a string, a list containing that string is returned.
         * If the object is a list, it is cast to a list of strings and returned.
         * </p>
         *
         * @param value the object to be converted to a list of strings
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

        public ElevateWord[] get() {
            final Map<String, Object>[] sourceArray =
                    arraySettings.getFromArrayIndex(arraySettings.arraySettingsIndexName, arraySettings.settingsId, ELEVATE_WORD_SETTINGD_KEY);
    
            final ElevateWord[] elevateWords = new ElevateWord[sourceArray.length];
            for (int i = 0; i < elevateWords.length; i++) {
                final Object elevateWord = sourceArray[i].get(FieldNames.ARRAY_VALUE);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            urlQueue.setMethod(Constants.GET_METHOD);
            insert(urlQueue);
        }
    
        /**
         * Inserts a URL queue entry into the OpenSearch index.
         *
         * @param urlQueue The URL queue entry to insert.
         */
        @Override
        public void insert(final OpenSearchUrlQueue urlQueue) {
            try {
                super.insert(urlQueue, urlQueue.getId() == null ? OpType.CREATE : OpType.INDEX);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (1)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

            return Objects.hash(method, url, weight);
        }
    
        /**
         * Checks if this RequestData is equal to another object.
         * @param obj the object to compare with
         * @return true if the objects are equal, false otherwise
         */
        @Override
        public boolean equals(Object obj) {
            if (this == obj)
                return true;
            if (obj == null)
                return false;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/Transformer.java

        ResultData transform(ResponseData responseData);
    
        /**
         * Retrieves data from the given AccessResultData object.
         *
         * @param accessResultData the AccessResultData object containing the data to be retrieved
         * @return an Object representing the data retrieved from the AccessResultData
         */
        Object getData(AccessResultData<?> accessResultData);
    
        /**
         * Retrieves the name associated with this transformer.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

                }
    
                final List<Tuple<String, Object>> arraySettings = new ArrayList<>();
                final Map<String, Object> defaultSettings = defaultSettings();
                initialSettings.forEach((key, value) -> {
                    if (value instanceof Collection) {
                        @SuppressWarnings("unchecked")
                        final Collection<Object> collection = (Collection<Object>) value;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top