- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 59 for cleanup2 (2.96 sec)
-
src/main/java/jcifs/util/ResourceManager.java
/** * Centralized resource management for preventing resource leaks. * Tracks all AutoCloseable resources and ensures proper cleanup. * * Features: * - Automatic resource cleanup with weak references * - Resource leak detection * - Resource usage monitoring * - Periodic cleanup of abandoned resources * - Detailed resource tracking and reporting */ public class ResourceManager {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
CLAUDE.md
// Iterate all ds.iterate(sessionId, accessResult -> { System.out.println(accessResult.getUrl()); System.out.println(accessResult.getContent()); }); // Cleanup ds.delete(sessionId); ``` ### Resource Cleanup Pattern ```java // Always use try-with-resources for ResponseData try (ResponseData responseData = client.execute(requestData)) { // Process } // Temp files auto-deleted
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 28 17:31:34 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 13.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java
this.numOfThreads = numOfThreads; return this; } /** * Enables cleanup operations for this job. * * @return this job instance for method chaining */ public GenerateThumbnailJob cleanup() { cleanup = true; return this; } @Override public String execute() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
this.cleanupInterval = cleanupInterval; // Start cleanup scheduler this.cleanupScheduler = Executors.newSingleThreadScheduledExecutor(r -> { Thread t = new Thread(r, "AuthRateLimiter-Cleanup"); t.setDaemon(true); return t; }); cleanupScheduler.scheduleWithFixedDelay(this::cleanup, cleanupInterval.toMillis(), cleanupInterval.toMillis(),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
assertTrue(PreauthIntegrityService.getHashAlgorithmName(0xFF).startsWith("Unknown")); } @Test @DisplayName("Test service cleanup") public void testServiceCleanup() throws CIFSException { String sessionId1 = "cleanup-test-1"; String sessionId2 = "cleanup-test-2"; byte[] salt = preauthService.generatePreauthSalt();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
* This marks the access results as processed and clears the list. * * @param accessResultList the list of access results to clean up * @return the time taken for the cleanup operation in milliseconds, or -1 if no cleanup was needed */ private long cleanupAccessResults(final List<OpenSearchAccessResult> accessResultList) { if (!accessResultList.isEmpty()) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 32.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
if (port <= 0) { port = SmbConstants.DEFAULT_PORT; } // Perform cleanup and health checks without global synchronization cleanup(); performHealthCheck(); if (log.isTraceEnabled()) { log.trace("Exclusive " + nonPooled + " enforced signing " + forceSigning); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
NetServerEnumIterator iterator = new NetServerEnumIterator(parent, treeHandle, "*", 0, nameFilter); // Then: Iterator should have no elements assertFalse(iterator.hasNext()); // Cleanup iterator.close(); } @Test @DisplayName("Iterator should handle filter that throws CIFSException") void testIterator_FilterThrowsException() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
// Then - Session should be in consistent state // The double-check pattern should prevent inconsistent cleanup assertTrue(releaseCount.get() > 0 || acquireCount.get() > 0, "Release and acquire counts should be processed"); } /** * Test that trees collection is properly cleared during cleanup. */ @Test public void testTreesCollectionCleanup() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0)