Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 202 for cleanup1 (0.09 seconds)

  1. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

         * Note: Guava Cache handles expiration automatically, but this method
         * can be called to force immediate cleanup.
         */
        public void cleanup() {
            requestCounters.cleanUp();
            blockedIps.cleanUp();
            if (logger.isDebugEnabled()) {
                logger.debug("Cache cleanup completed: trackedIps={}, blockedIps={}", requestCounters.size(), blockedIps.size());
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. 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();
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  3. 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() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  4. 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(),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * either it has exceeded the keep alive limit or the idle connections limit.
       *
       * Returns the duration in nanoseconds to sleep until the next scheduled call to this method.
       * Returns -1 if no further cleanups are required.
       */
      fun closeConnections(now: Long): Long {
        // Find the longest-idle connections in 2 categories:
        //
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

                        }
                    }
    
                    // Emergency cleanup of trees
                    if (this.trees != null) {
                        try {
                            // Clear all tree references
                            for (SmbTreeImpl tree : this.trees) {
                                try {
                                    // Force release trees during emergency cleanup
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

    import org.junit.jupiter.api.Timeout;
    import org.mockito.Mockito;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.Credentials;
    
    /**
     * Simple memory management tests to validate basic resource cleanup functionality
     */
    public class SimpleMemoryManagementTest {
    
        private CIFSContext mockContext;
        private SmbTransportImpl mockTransport;
        private Configuration mockConfig;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java

            // Guava Cache handles expiration automatically
            // Wait for cache to expire and call cleanup
            try {
                Thread.sleep(100L);
            } catch (final InterruptedException e) {
                // ignore
            }
    
            rateLimitHelper.cleanup();
            // After cleanup, the expired entry should be removed
            // Note: The actual expiration depends on the configured block duration
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            protected int numOfThreads = 1;
    
            /**
             * Whether to run in cleanup mode to remove old thumbnails.
             */
            @Option(name = "-c", aliases = "--cleanup", usage = "Clean-Up mode")
            protected boolean cleanup;
    
            /**
             * Default constructor for command-line options.
             */
            protected Options() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                    }
                }
            }
            return containingFailures
        }
    
        /**
         * After archiving the test files, do a cleanup to get rid of TeamCity "XX published a lot of small artifacts" warning.
         */
        private
        fun cleanUp(filesToCleanUp: Collection<File>) {
            try {
                fileSystemOperations.delete {
                    delete(*filesToCleanUp.toTypedArray())
                }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 11:05:07 GMT 2026
    - 14.3K bytes
    - Click Count (1)
Back to Top