- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 145 for destroy (0.04 seconds)
-
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 */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 06:54:47 GMT 2025 - 10.9K bytes - Click Count (0) -
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) -
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 containerCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
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) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 01 12:47:47 GMT 2026 - 16.6K bytes - Click Count (0) -
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) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
assertTrue(processHelper.isProcessRunning()); // Wait a bit for the processes to start Thread.sleep(50); // Destroy all processes processHelper.destroy(); // Wait a bit for destruction to complete Thread.sleep(100); assertFalse(processHelper.isProcessRunning()); } 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) -
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) -
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) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
return 0; } @Override public int exitValue() { return 0; } @Override public void destroy() { } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.8K bytes - Click Count (0)