Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 32 for destroyed (0.05 seconds)

  1. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                // Destroy the process
                int exitCode = processHelper.destroyProcess(sessionId);
                assertFalse(processHelper.isProcessRunning(sessionId));
    
                // Exit code should be non-zero for forcibly destroyed process, or -1
                assertTrue(exitCode != 0 || exitCode == -1);
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/exec/Crawler.java

                TimeoutManager.getInstance().stop();
                if (logger.isDebugEnabled()) {
                    logger.debug("Destroying LaContainer...");
                }
                SingletonLaContainerFactory.destroy();
                logger.info("Destroyed LaContainer.");
            }
        }
    
        /**
         * Main processing method that coordinates the entire crawling workflow.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

            helper.init();
            // destroy() cancels the task and flushes; should not throw
            helper.destroy();
        }
    
        @Test
        public void test_destroy_beforeInit() {
            LogNotificationHelper helper = new LogNotificationHelper();
            // destroy() without init() should not throw NPE because of null checks
            helper.destroy();
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  4. 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();
        }
    
        @Test
        public void test_isAvailable() {
            // Initialize without container
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            }
    
            @Override
            public void destroy() {
                // Override to avoid null pointer issues with thread
                generating = false;
            }
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            if (thumbnailManager != null) {
                try {
                    thumbnailManager.destroy();
                } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

            if (logger.isDebugEnabled()) {
                logger.debug("Initialized ChatSessionManager");
            }
        }
    
        /**
         * Destroys the session manager and shuts down the cleanup scheduler.
         */
        @PreDestroy
        public void destroy() {
            if (cleanupTask != null && !cleanupTask.isCanceled()) {
                cleanupTask.cancel();
            }
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            // Test availability check
            assertTrue(thumbnailGenerator.isAvailable());
        }
    
        @Test
        public void test_destroy() {
            // Test destroy method - should not throw exception
            thumbnailGenerator.destroy();
            // After destroy, generator should not be available
            assertFalse(thumbnailGenerator.isAvailable());
        }
    
        @Test
        public void test_createTask_withValidParams() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            assertTrue(generator.isGenerateCalled());
        }
    
        @Test
        public void test_destroy() {
            // Test destroy method is called correctly
            generator = new TestThumbnailGenerator();
    
            assertFalse(generator.isDestroyCalled());
            generator.destroy();
            assertTrue(generator.isDestroyCalled());
        }
    
        @Test
        public void test_expandPath() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

        //                                                                           =========
        @Override
        public void rollback() {
            for (MultipartFormFile formFile : elementsFile.values()) {
                formFile.destroy();
            }
        }
    
        // ===================================================================================
        //                                                                              Finish
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:48:41 GMT 2026
    - 18.9K bytes
    - Click Count (1)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessFwAssistantDirector.java

            // you can add your own process when your application is booting or closing
            direction.directCurtainBefore(createCurtainBeforeHook());
            direction.directCurtainFinally(createCurtainFinallyHook()); // when destroy
    
            direction.directSecurity(createSecurityResourceProvider());
            direction.directTime(createTimeResourceProvider());
            direction.directMail(createFessMailDeliveryDepartmentCreator().create());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 10.4K bytes
    - Click Count (0)
Back to Top