Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 255 for Failures (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                if (transport.isFailed()) {
                    return true;
                }
    
                // Check for consecutive failures
                String key = getConnectionKey(transport);
                AtomicInteger failures = consecutiveFailures.get(key);
                if (failures != null && failures.get() >= MAX_CONSECUTIVE_FAILURES) {
                    Long lastFailure = lastFailureTimes.get(key);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  9. 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)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

        call: Call,
        inetSocketAddress: InetSocketAddress,
        proxy: Proxy,
        protocol: Protocol?,
      ) {
      }
    
      /**
       * Invoked when a connection attempt fails. This failure is not terminal if further routes are
       * available and failure recovery is enabled.
       *
       * If the `call` uses HTTPS, this will be invoked after [secureConnectStart], otherwise it will
       * invoked after [connectStart].
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top