Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for distros (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

                    }
                }
            }
    
            httpClient = closeableHttpClient;
        }
    
        /**
         * Destroys the HTTP client.
         */
        @PreDestroy
        public void destroy() {
            if (httpClient != null) {
                try {
                    httpClient.close();
                } catch (final IOException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        }
    
        /**
         * Internal method to destroy a specific JobProcess.
         * Handles cleanup of streams, threads, and process termination.
         *
         * @param sessionId unique identifier for the process session
         * @param jobProcess the JobProcess to destroy
         * @return exit code of the destroyed process, or -1 if the process was null or could not be destroyed
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 06:54:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

        public PooledObject<T> wrap(final T obj) {
            return new DefaultPooledObject<>(obj);
        }
    
        /**
         * Destroys a pooled object and notifies the destroy listener if set.
         * If the object implements {@link AutoCloseable}, it will be closed automatically.
         *
         * @param p The pooled object to destroy
         * @throws Exception if destruction fails
         */
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            if (commandDestroyTimeoutStr != null) {
                commandDestroyTimeout = Long.parseLong(commandDestroyTimeoutStr);
            }
        }
    
        /**
         * Destroys the command generator and cleanup resources.
         */
        @Override
        public void destroy() {
            destoryTimer.cancel();
            destoryTimer = null;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java

         */
        public HtmlTagBasedGenerator() {
            super();
        }
    
        /**
         * Destroys this thumbnail generator and releases any resources.
         * This implementation is empty as no cleanup is required.
         */
        @Override
        public void destroy() {
        }
    
        /**
         * Creates a thumbnail generation task for the specified document.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

         */
        @PostConstruct
        public void init() {
            fesenClient.addOnConnectListener(() -> createMapping("queue"));
        }
    
        /**
         * Destroys the service.
         */
        @PreDestroy
        public void destroy() {
            sessionCache.entrySet().stream().map(e -> e.getValue().waitingQueue).forEach(q -> q.forEach(urlQueue -> {
                try {
                    insert(urlQueue);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 16.9K bytes
    - Viewed (1)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                    ThreadUtil.sleep(RandomUtils.nextLong(minSleep, maxSleep));
                    retryCount++;
                }
            }
        }
    
        /**
         * Destroys the client and closes connections.
         */
        @PreDestroy
        public void destroy() {
            if (client != null) {
                try {
                    client.close();
                } catch (final OpenSearchException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 02:01:26 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            PooledObject<CloseableTestComponent> pooledObject = new DefaultPooledObject<>(component);
    
            // First destroy
            closeableFactory.destroyObject(pooledObject);
            assertTrue(component.isClosed());
            assertEquals(1, CloseableTestComponent.getCloseCount());
    
            // Second destroy - close() should only be called once due to idempotency check in component
            closeableFactory.destroyObject(pooledObject);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

                logger.debug(officeManager.getClass().getSimpleName() + " is started.");
            }
        }
    
        /**
         * Destroys the extractor by stopping the office manager.
         *
         * @throws CrawlerSystemException if the office manager fails to stop
         */
        @PreDestroy
        public void destroy() {
            try {
                officeManager.stop();
            } catch (final OfficeException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exec/Crawler.java

                }
                destroyContainer();
            }
    
            if (exitCode != Constants.EXIT_OK) {
                System.exit(exitCode);
            }
        }
    
        /**
         * Destroys the DI container and stops the timeout manager.
         * This method ensures proper cleanup of resources when the crawler shuts down.
         * It's called both during normal shutdown and in error conditions.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top