Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for successes (0.05 sec)

  1. src/main/java/jcifs/util/SimpleCircuitBreaker.java

            if (current == State.HALF_OPEN) {
                int successes = halfOpenSuccesses.incrementAndGet();
                if (successes >= successThreshold) {
                    if (state.compareAndSet(State.HALF_OPEN, State.CLOSED)) {
                        stateChangeTime.set(System.currentTimeMillis());
                        log.info("Circuit breaker {} closed after {} successful attempts", name, successes);
                    }
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            // First success should transition to HALF_OPEN
            String result = circuitBreaker.executeWithCircuitBreaker(() -> "success 0");
            assertEquals("success 0", result, "Should execute in HALF_OPEN");
            assertEquals(State.HALF_OPEN, circuitBreaker.getState(), "Should be in HALF_OPEN after first success");
    
            // Need successThreshold (2) consecutive successes to close the circuit
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  3. cmd/tier_test.go

    		switch metric.Description.Name {
    		case tierRequestsSuccess:
    			succ += metric.Value
    		case tierRequestsFailure:
    			fail += metric.Value
    		}
    	}
    	if int(succ) != expSuccess {
    		t.Fatalf("Expected %d successes but got %f", expSuccess, succ)
    	}
    	if int(fail) != expFailure {
    		t.Fatalf("Expected %d failures but got %f", expFailure, fail)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SmbCircuitBreaker.java

            if (currentState == State.HALF_OPEN) {
                int successes = successCount.incrementAndGet();
                log.debug("[{}] Success in HALF_OPEN state ({}/{})", name, successes, successThreshold);
    
                if (successes >= successThreshold) {
                    log.info("[{}] Circuit breaker closing after {} successful attempts", name, successes);
                    transitionTo(State.CLOSED);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            // Next call should transition to HALF_OPEN
            String result = circuitBreaker.call(() -> "success");
            assertEquals("success", result);
            assertEquals(SimpleCircuitBreaker.State.HALF_OPEN, circuitBreaker.getState());
        }
    
        @Test
        @DisplayName("Test circuit closes after success threshold in HALF_OPEN")
        void testCircuitClosesAfterSuccessThreshold() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.34.md

    - Added `started_user_namespaced_pods_total` and `started_user_namespaced_pods_errors_total` for tracking the successes and failures in creating pods if a user namespace was requested. ([#132902](https://github.com/kubernetes/kubernetes/pull/132902), [@haircommander](https://github.com/haircommander)) [SIG Node and Testing]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 27 10:36:10 UTC 2025
    - 292.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

          }
    
          for (N successor : sanityCheckSet(network.successors(node))) {
            assertThat(network.predecessors(successor)).contains(node);
            assertThat(network.edgesConnecting(node, successor)).isNotEmpty();
          }
    
          for (E incidentEdge : sanityCheckSet(network.incidentEdges(node))) {
            assertTrue(
                network.inEdges(node).contains(incidentEdge)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.30.md

    - Added a new metric `apiserver_encryption_config_controller_automatic_reloads_total` to measure the total number of API server encryption configuration reload successes and failures.  This metric now contains the `status` label with a value that is either `success` or `failure`. Deprecated the metrics `apiserver_encryption_config_controller_automatic_reload_success_total` and `apiserver_encryption_config_controller_automatic_reload_failure_total`. Please use...
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jun 18 18:59:10 UTC 2025
    - 398.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactLinkedHashSet.java

        return new CompactLinkedHashSet<>(expectedSize);
      }
    
      private static final int ENDPOINT = -2;
    
      // TODO(user): predecessors and successors should be collocated (reducing cache misses).
      // Might also explore collocating all of [hash, next, predecessor, successor] fields of an
      // entry in a *single* long[], though that reduces the maximum size of the set by a factor of 2
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 14:59:07 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * Creates an {@code MonitorBasedArrayBlockingQueue} with the given (fixed) capacity and the
       * specified access policy.
       *
       * @param capacity the capacity of this queue
       * @param fair if {@code true} then queue accesses for threads blocked on insertion or removal,
       *     are processed in FIFO order; if {@code false} the access order is unspecified.
       * @throws IllegalArgumentException if {@code capacity} is less than 1
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top