Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ofMinutes (0.07 sec)

  1. src/main/java/jcifs/util/AuthenticationRateLimiter.java

        private final AtomicLong totalIpsBlocked = new AtomicLong(0);
    
        /**
         * Create rate limiter with default settings
         */
        public AuthenticationRateLimiter() {
            this(5, 10, 100, Duration.ofMinutes(30), Duration.ofMinutes(5));
        }
    
        /**
         * Create rate limiter with custom settings
         *
         * @param maxAttemptsPerAccount max failed attempts per account before lockout
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                    5, // max attempts per IP
                    20, // max global attempts per minute
                    Duration.ofSeconds(2), // short lockout for testing
                    Duration.ofMinutes(1) // cleanup interval
            );
        }
    
        @AfterEach
        public void tearDown() {
            if (rateLimiter != null) {
                rateLimiter.close();
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <p>Usage example:
     *
     * {@snippet :
     * LoadingCache<Key, Graph> graphs = CacheBuilder.newBuilder()
     *     .maximumSize(10000)
     *     .expireAfterWrite(Duration.ofMinutes(10))
     *     .removalListener(MY_LISTENER)
     *     .build(
     *         new CacheLoader<Key, Graph>() {
     *           public Graph load(Key key) throws AnyException {
     *             return createExpensiveGraph(key);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                            .withLogConsumer(new Slf4jLogConsumer(LoggerFactory.getLogger(SmbFileIntegrationTest.class)))
                            .waitingFor(Wait.forListeningPorts(SMB_PORT).withStartupTimeout(Duration.ofMinutes(2)));
                } catch (IOException e) {
                    throw new RuntimeException("Failed to setup test directories", e);
                }
            } else {
                sambaContainer = null;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top