Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Called (0.02 sec)

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

        protected static class ComponentHolder<T> {
            /**
             * The component instance being held.
             */
            protected T instance;
    
            /**
             * The destroyer function to be called when the component is destroyed.
             */
            protected Consumer<T> destroyer;
    
            /**
             * Creates a new ComponentHolder with the specified instance and destroyer.
    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/extractor/impl/ApiExtractor.java

         */
        public ApiExtractor() {
            // NOP
        }
    
        /**
         * Initializes the API extractor, setting up the HTTP client and configuration.
         * This method is called after construction to initialize the HTTP client with
         * configured timeouts, authentication, and request headers.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

         */
        public HtmlXpathExtractor() {
            super();
        }
    
        /**
         * Initializes the XPathAPI cache with a specified cache duration.
         * This method is called to set up the cache for XPathAPI instances.
         */
        @Resource
        public void init() {
            xpathAPICache =
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            urlQueueService.delete(sessionId);
            dataService.delete(sessionId);
            urlFilter.clear();
        }
    
        /**
         * Closes the crawler, releasing resources.
         * This method is called automatically when the crawler is used in a try-with-resources statement.
         */
        @Override
        public void close() {
            clientFactory.close();
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

                public void onDestroy(PooledObject<TestComponent> p) {
                    listenerCalled.set(true);
                }
            });
    
            factory.destroyObject(null);
    
            // Listener should be called even with null
            assertTrue(listenerCalled.get());
        }
    
        /**
         * Test destroyObject with exception in listener
         */
        public void test_destroyObject_listenerException() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                prepareClearScroll().addScrollId(scrollId)
                        .execute(ActionListener.wrap(res -> {}, e -> logger.warn("Failed to clear " + scrollId, e)));
            }
        }
    
        /**
         * Listener for connection events.
         */
        public interface OnConnectListener {
            /**
             * Called when the client connects to OpenSearch.
             */
            void onConnect();
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

                            logger.warn("Failed to set originalOutStream.", e);
                        }
                    }
                    if (originalErrStream != null) {
                        try {
                            System.setErr(originalErrStream);
                        } catch (Exception e) {
                            logger.warn("Failed to set originalErrStream.", e);
                        }
                    }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                        if (logger.isDebugEnabled()) {
                            logger.warn("[{}][{}] Failed to analyze a text(size:{}).", field, lang, buf.length(), e);
                        } else {
                            logger.warn("[{}][{}] Failed to analyze a text(size:{}). {}", field, lang, buf.length(), e.getMessage());
                        }
                    }
                    buf.setLength(0);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                    throw new CrawlingAccessException("[" + e.status() + "] Failed to insert " + id, e);
                }
                throw new OpenSearchAccessException("[" + e.status() + "] Failed to insert " + id, e);
            } catch (final Exception e) {
                throw new OpenSearchAccessException("Failed to insert " + id, e);
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                client.admin().indices().prepareRefresh().setIndices(actualIndex).execute().actionGet(settings.getIndicesTimeout());
            } catch (final Exception e) {
                throw new SuggestSettingsException("Failed to add to array.", e);
            }
        }
    
        /**
         * Delete values from array index.
         * @param index Index
         * @param type Type
         * @param key Key
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top