Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for distros (0.04 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/container/StandardCrawlerContainer.java

            return available;
        }
    
        @Override
        public void destroy() {
            available = false;
            for (final ComponentHolder<?> componentHolder : singletonMap.values()) {
                try {
                    componentHolder.destroy();
                } catch (final Exception e) {
                    logger.warn("Failed to destroy " + componentHolder.get(), e);
                }
            }
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K 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/test/java/jcifs/util/SecureCredentialStorageTest.java

            assertFalse(storage.isDestroyed(), "Storage should not be destroyed initially");
    
            // Destroy the storage - may throw DestroyFailedException if SecretKey doesn't support destroy
            try {
                storage.destroy();
            } catch (DestroyFailedException e) {
                // This is acceptable - not all JVM implementations support destroying SecretKey
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top