- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 110 for Attempts (0.04 sec)
-
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
@BeforeEach public void setUp() { // Create rate limiter with test-friendly settings rateLimiter = new AuthenticationRateLimiter(3, // max attempts per account 5, // max attempts per IP 20, // max global attempts per minute Duration.ofSeconds(2), // short lockout for testing Duration.ofMinutes(1) // cleanup interval ); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K 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/util/AuthenticationRateLimiter.java
} /** * Create rate limiter with custom settings * * @param maxAttemptsPerAccount max failed attempts per account before lockout * @param maxAttemptsPerIp max attempts from single IP * @param maxGlobalAttemptsPerMinute max global attempts per minute * @param lockoutDuration duration to lock out account/IP * @param cleanupInterval interval for cleaning up old entries */
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/util/SmbCircuitBreaker.java
} totalRequests.incrementAndGet(); // Check half-open attempt limit if (currentState == State.HALF_OPEN) { int attempts = halfOpenAttempts.incrementAndGet(); if (attempts > halfOpenMaxAttempts) { log.warn("[{}] Exceeded max attempts in HALF_OPEN state, reopening circuit", name); transitionTo(State.OPEN);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
originalCause)); } return CompletableFuture.supplyAsync(() -> { try { // Wait before retry (except first attempt) if (attempt > 0) { long delay = retryDelay * (1L << attempt); // Exponential backoff
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (0) -
cmd/batch-handlers.go
if err != nil { return err } wk, err := workers.New(workerSize) if err != nil { // invalid worker size. return err } retry := false for attempts := 1; attempts <= retryAttempts; attempts++ { attempts := attempts // one of source/target is s3, skip delete marker and all versions under the same object name.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
// When/Then - Should retry for attempts 1 and 2 assertTrue(exception.shouldRetry(1)); assertTrue(exception.shouldRetry(2)); assertFalse(exception.shouldRetry(3)); // Max attempts reached // Verify exponential backoff assertEquals(1000, exception.getRetryDelayMs(1));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
cmd/batch-job-common-types.go
b.line, b.col = val.Line, val.Column return nil } // BatchJobRetry stores retry configuration used in the event of failures. type BatchJobRetry struct { line, col int Attempts int `yaml:"attempts" json:"attempts"` // number of retry attempts Delay time.Duration `yaml:"delay" json:"delay"` // delay between each retries } var _ yaml.Unmarshaler = &BatchJobRetry{}
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
cmd/batch-rotate.go
} wk.Take() go func() { defer wk.Give() for attempts := 1; attempts <= retryAttempts; attempts++ { stopFn := globalBatchJobsMetrics.trace(batchJobMetricKeyRotation, job.ID, attempts) success := true if err := r.KeyRotate(ctx, api, result); err != nil { stopFn(result, err) batchLogIf(ctx, err) success = false if attempts >= retryAttempts { auditOptions := AuditLogOptions{
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.7K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
// Wait before retry (except first attempt) if (attempt > 0) { Thread.sleep(retryDelay * attempt); } // Create reconnect context DurableHandleReconnect reconnectCtx = new DurableHandleReconnect(info.fileId); // Attempt to reopen with reconnect context
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0)