- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 167 for Failures (0.04 sec)
-
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
// Expected } } // Circuit should be OPEN after 3 failures assertEquals(State.OPEN, customCb.getState(), "Circuit should be OPEN after regular failures"); assertEquals(3, customCb.getFailureCount(), "Should have 3 failures"); // Reset for custom predicate test customCb.reset();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/main/java/jcifs/util/SimpleCircuitBreaker.java
int failures = consecutiveFailures.incrementAndGet(); if (failures >= failureThreshold) { if (state.compareAndSet(State.CLOSED, State.OPEN)) { stateChangeTime.set(System.currentTimeMillis()); log.warn("Circuit breaker {} opened after {} consecutive failures", name, failures); } } } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
cmd/dynamic-timeouts.go
// previous results func (dt *dynamicTimeout) adjust(entries [dynamicTimeoutLogSize]time.Duration) { failures, maxDur := 0, time.Duration(0) for _, dur := range entries[:] { if dur == maxDuration { failures++ } else if dur > maxDur { maxDur = dur } } failPct := float64(failures) / float64(len(entries)) if failPct > dynamicTimeoutIncreaseThresholdPct {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
log.warn("[{}] Failure in HALF_OPEN state, reopening circuit: {}", name, e.getMessage()); transitionTo(State.OPEN); } else if (currentState == State.CLOSED) { int failures = failureCount.incrementAndGet(); int currentThreshold = this.failureThreshold; log.debug("[{}] Failure in CLOSED state ({}/{}): {}", name, failures, currentThreshold, e.getMessage());
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/witness/WitnessClient.java
// Exponential backoff on errors: max 30 seconds, based on consecutive failures try { int failures = Math.min(registration.getHeartbeatFailures(), MAX_FAILURE_LIMIT); long backoffDelay = Math.min(MAX_ERROR_BACKOFF, BASE_ERROR_DELAY * (1L << failures)); Thread.sleep(backoffDelay);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
int failures = getFailureCount(handle); // Base interval starts at 1 second, increases with failures // Max interval is 30 seconds for inactive directories return Math.min(MAX_POLL_INTERVAL, BASE_POLL_INTERVAL + (failures * 2000)); } /** * Get failure count for a handle * * @param handle notification handle
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
docs/metrics/v3.md
| `minio_cluster_erasure_set_read_tolerance` | Number of drive failures that can be tolerated without disrupting read operations. <br><br>Type: gauge | `pool_id`, `set_id` | | `minio_cluster_erasure_set_write_tolerance` | Number of drive failures that can be tolerated without disrupting write operations. <br><br>Type: gauge | `pool_id`, `set_id` |
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 45.2K bytes - Viewed (0) -
docs/metrics/prometheus/list.md
| `minio_cluster_replication_proxied_head_requests_failures` | (_Site Replication Only_)Number of failures in HEAD requests proxied to replication target |
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 43.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
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/test/java/jcifs/util/SimpleCircuitBreakerTest.java
@Test @DisplayName("Test mixed success and failure pattern") void testMixedPattern() throws Exception { // Success circuitBreaker.call(() -> "success"); // Two failures (not enough to open) for (int i = 0; i < 2; i++) { try { circuitBreaker.call(() -> { throw new RuntimeException("Test failure"); });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0)