Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 99 for distros (0.05 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SecureCredentialStorage.java

            }
        }
    
        @Override
        public void destroy() throws DestroyFailedException {
            if (!destroyed) {
                boolean failedToDestroy = false;
                Exception destroyException = null;
    
                try {
                    // Mark as destroyed first to prevent further operations
                    destroyed = true;
    
                    // Try to destroy master key if it implements Destroyable
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

                    retryCount++;
                }
            }
        }
    
        /**
         * Destroys the client and closes connections.
         */
        @PreDestroy
        public void destroy() {
            if (client != null) {
                try {
                    client.close();
                } catch (final OpenSearchException e) {
    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. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            }
    
            @Override
            public void destroy() {
                // Override to avoid null pointer issues with thread
                generating = false;
            }
        }
    
        @Override
        public void tearDown() throws Exception {
            if (thumbnailManager != null) {
                try {
                    thumbnailManager.destroy();
                } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
            // Test that destroy method can be called without error
            emptyGenerator.destroy();
            // Call destroy multiple times to ensure it's safe
            emptyGenerator.destroy();
            emptyGenerator.destroy();
        }
    
        public void test_isAvailable() {
            // Initialize without container
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            assertTrue(generator.isGenerateCalled());
        }
    
        public void test_destroy() {
            // Test destroy method is called correctly
            generator = new TestThumbnailGenerator();
    
            assertFalse(generator.isDestroyCalled());
            generator.destroy();
            assertTrue(generator.isDestroyCalled());
        }
    
        public void test_expandPath() {
            // Test expandPath method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            // Test availability check
            assertTrue(thumbnailGenerator.isAvailable());
        }
    
        public void test_destroy() {
            // Test destroy method - should not throw exception
            thumbnailGenerator.destroy();
            // After destroy, generator should not be available
            assertFalse(thumbnailGenerator.isAvailable());
        }
    
        public void test_createTask_withValidParams() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top