- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for computeIfAbsent (0.16 sec)
-
src/main/java/jcifs/util/AuthenticationRateLimiter.java
return false; } // Check per-account limit if (username != null) { AccountAttempts account = accountAttempts.computeIfAbsent(username, k -> new AccountAttempts()); if (account.isLockedOut()) { if (account.getLockoutExpiry().isAfter(Instant.now())) { totalAttemptsBlocked.incrementAndGet();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
} // Track connection metrics String key = getConnectionKey(address, port); connectionMetrics.computeIfAbsent(key, k -> new ConnectionMetrics()).recordConnection(); activeConnections.incrementAndGet(); if (nonPooled) { this.nonPooledConnections.offer(conn); } else {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/audit/SecurityAuditLogger.java
String key = type.name(); long currentWindow = System.currentTimeMillis() / rateLimitWindow; String windowKey = key + "_" + currentWindow; AtomicLong counter = rateLimitCounters.computeIfAbsent(windowKey, k -> new AtomicLong(0)); long currentCount = counter.incrementAndGet(); // Clean up old windows periodically if (currentCount == 1) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 26.6K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
* * @param index the index name * @param path path to the configuration file */ public void addConfigFile(final String index, final String path) { configListMap.computeIfAbsent(index, k -> new ArrayList<>()).add(path); } /** * Sets the configuration settings for the search engine. * * @param settings map of configuration key-value pairs */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 121.9K bytes - Viewed (1)