- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 98 for Cleanup (0.07 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
assertTrue(true); } public void test_process_cleanupMode() throws Exception { // Test process method in cleanup mode ThumbnailGenerator.Options options = new ThumbnailGenerator.Options(); options.numOfThreads = 1; options.cleanup = true; setupMockComponents();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K 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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.7K 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: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 32.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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
// Release the tree connection if possible log.debug("Releasing tree connection during emergency cleanup"); } } catch (Exception e) { log.debug("Error releasing tree connection during emergency cleanup", e); } // Note: resourceLoc is final, cannot be set to null // Clear other mutable references would go here
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K 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: Sun Sep 07 00:10:21 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() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0)