- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 88 for cleanup2 (0.58 sec)
-
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
import jakarta.annotation.PreDestroy; /** * Helper class for managing system processes in Fess. * This class provides functionality to start, stop, and manage external processes * such as crawler processes, with proper resource cleanup and lifecycle management. */ public class ProcessHelper { /** Logger instance for this class */ private static final Logger logger = LogManager.getLogger(ProcessHelper.class);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 06:54:47 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java
* documents and converting them into a key-value structure. * * <p>This interface extends {@link java.io.Closeable}, so implementations * should also handle resource cleanup when the {@link #close()} method is called.</p> */ public interface DocumentReader extends Closeable { /** * Reads a document and returns its contents as a map. *Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
log.warn("Tree was not properly released, performing emergency cleanup: " + this); emergencyCleanup(); } } catch (Exception e) { log.error("Error during tree finalization", e); } finally { super.finalize(); } } /** * Emergency cleanup method to prevent memory leaks during finalization */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
return "SHA-512"; default: return "Unknown(0x" + Integer.toHexString(algorithm) + ")"; } } /** * Clears all session contexts (for cleanup). */ public void cleanup() { for (PreauthIntegrityContext context : sessionContexts.values()) { context.invalidate(); } sessionContexts.clear();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
assertTrue(mockService.getPort() > 0); assertEquals(0, mockService.getRegistrationCount()); } /** * Test the complete workflow of witness registration, notification, and cleanup */ @Test void testCompleteWitnessWorkflow() throws Exception { // Simulate complete witness workflow // 1. Service discovery and registration
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
this.lock = new ReentrantReadWriteLock(); // Start cleanup executor for expired leases this.cleanupExecutor = Executors.newSingleThreadScheduledExecutor(r -> { Thread t = new Thread(r, "LeaseManager-Cleanup"); t.setDaemon(true); return t; }); // Schedule periodic cleanup long cleanupInterval = context.getConfig().getLeaseTimeout();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
assertTrue(region.hasAccess(RdmaAccess.LOCAL_WRITE), "Should have local write access"); assertFalse(region.hasAccess(RdmaAccess.REMOTE_READ), "Should not have remote read access"); // Test cleanup region.close(); assertFalse(region.isValid(), "Region should be invalid after close"); } @Test public void testGetProviderName() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/context/AbstractCIFSContext.java
private static final Logger log = LoggerFactory.getLogger(AbstractCIFSContext.class); private boolean closed; /** * Default constructor that registers a shutdown hook for cleanup */ public AbstractCIFSContext() { Runtime.getRuntime().addShutdownHook(this); } /** * @param creds the credentials to use * @return a wrapped context with the given credentialsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
assertEquals("Braces should be balanced", openBraces, closeBraces); } } /** * Test that InputStream is properly closed even when exception occurs. * Verifies try-with-resources cleanup behavior. */ @Test public void testResourceLoading_exceptionHandling() { try {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/log/LogType.java
* Each enum constant represents a specific event or state in the crawler's execution. */ public enum LogType { /** Indicates the start of a crawling process. */ START_CRAWLING, /** Indicates the cleanup phase of crawling. */ CLEANUP_CRAWLING, /** Indicates an unsupported URL was encountered when crawling started. */ UNSUPPORTED_URL_AT_CRAWLING_STARTED,
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.4K bytes - Viewed (0)