Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 196 for cleanup (0.07 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                }
            }
        }
    
        /**
         * Cleans up processed access results by updating their status in the data service.
         * 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
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. .teamcity/src/main/kotlin/common/CommonExtensions.kt

    /**
     * Define clean up rules for the project.
     * See https://www.jetbrains.com/help/teamcity/teamcity-data-clean-up.html#Clean-up+Rules
     *
     * @param historyDays days number of days to store build history .
     * @param artifactsDays number of days to store artifacts. In the stored history, artifacts older than this number will be cleaned up.
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Sep 10 01:37:13 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                        pathToLease.remove(entry.getValue().getPath());
                        cleaned++;
                        log.debug("Cleaned up expired lease: {}", entry.getKey());
                    }
                }
    
                if (cleaned > 0) {
                    log.info("Cleaned up {} expired leases", cleaned);
                }
    
                return cleaned;
            } finally {
                lock.writeLock().unlock();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. 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)
Back to top