- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for backoff (0.06 sec)
-
LICENSES/vendor/github.com/cenkalti/backoff/v4/LICENSE
= vendor/github.com/cenkalti/backoff/v4 licensed under: = The MIT License (MIT) Copyright (c) 2014 Cenk Altı Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Sun Sep 18 01:47:24 UTC 2022 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
*/ public class WitnessClient implements AutoCloseable { private static final Logger log = LoggerFactory.getLogger(WitnessClient.class); // Polling and backoff constants (in ms) private static final long MAX_POLL_INTERVAL = 5000; // Normal polling: max 5 seconds private static final long MAX_ERROR_BACKOFF = 30000; // Error polling: max 30 seconds
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt
/** How long to wait to retry pre-emptive connection attempts that fail. */ @JvmField val backoffDelayMillis: Long = 60 * 1000, /** How much jitter to introduce in connection retry backoff delays */ @JvmField val backoffJitterMillis: Int = 100,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jun 03 17:10:08 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
import org.slf4j.LoggerFactory; import jcifs.internal.smb2.create.Smb2CreateRequest; /** * Handles automatic reconnection of durable and persistent SMB handles. * * This class provides retry logic with exponential backoff for handle * reconnection after network failures or server issues. */ public class HandleReconnector { private static final Logger log = LoggerFactory.getLogger(HandleReconnector.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertTrue(exception.shouldRetry(1)); assertTrue(exception.shouldRetry(2)); assertFalse(exception.shouldRetry(3)); // Max attempts reached // Verify exponential backoff assertEquals(1000, exception.getRetryDelayMs(1)); assertEquals(2000, exception.getRetryDelayMs(2)); assertEquals(4000, exception.getRetryDelayMs(3)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
/** * Handles directory change notifications for SMB3 directory leasing */ public class DirectoryChangeNotifier { private static final Logger log = LoggerFactory.getLogger(DirectoryChangeNotifier.class); // Backoff and timing constants (in ms) private static final long BASE_POLL_INTERVAL = 1000; private static final long MAX_POLL_INTERVAL = 30000; private static final long BASE_RETRY_DELAY = 1000;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
state.incrementRetry(); long secondRetry = state.getNextRetryTime(); state.incrementRetry(); long thirdRetry = state.getNextRetryTime(); // Should have exponential backoff assertTrue(secondRetry > firstRetry); assertTrue(thirdRetry > secondRetry); } @Test void testPendingOperationRedistribution() throws Exception { // Setup pending operations
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
/** * Rate limiter for authentication attempts to prevent brute force attacks. * * Features: * - Per-account rate limiting * - Per-IP rate limiting * - Global rate limiting * - Exponential backoff for repeated failures * - Account lockout after threshold * - Automatic cleanup of old entries */ public class AuthenticationRateLimiter implements AutoCloseable {
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/internal/smb2/multichannel/ChannelFailover.java
} /** * Increment retry count and update next retry time */ public void incrementRetry() { retryCount++; // Exponential backoff: 1s, 2s, 4s nextRetryTime = System.currentTimeMillis() + (1000L << retryCount); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0)