- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 182 for successes (0.04 sec)
-
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) -
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) -
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) -
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) -
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) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
checkArgument(incidentEdge.nodeU().equals(thisNode)); N successor = incidentEdge.nodeV(); V value = successorNodeToValueFn.apply(successor); Object existingValue = adjacentNodeValues.put(successor, value); if (existingValue != null) { checkArgument(existingValue == PRED); adjacentNodeValues.put(successor, new PredAndSucc(value)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0) -
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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
@Synchronized @Throws(IOException::class) internal fun completeEdit( editor: Editor, success: Boolean, ) { val entry = editor.entry check(entry.currentEditor == editor) // If this edit is creating the entry for the first time, every index must have a value. if (success && !entry.readable) { for (i in 0 until valueCount) { if (!editor.written!![i]) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
assume().that(graphIsMutable()).isTrue(); addNode(N1); Set<Integer> successors = graph.successors(N1); assertThrows(UnsupportedOperationException.class, () -> successors.add(N2)); putEdge(N1, N2); assertThat(graph.successors(N1)).containsExactlyElementsIn(successors); } @Override @Test public void incidentEdges_checkReturnedSetMutability() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 12.7K bytes - Viewed (0) -
src/main/resources/fess_message_pl.properties
success.upload_kuromoji_file = Plik Kuromoji przesłano. success.upload_elevate_word = Plik słów podniesionych przesłano. success.upload_bad_word = Plik słów zakazanych przesłano. success.upload_mapping_file = Plik mapowania przesłano. success.send_testmail=Wysłano e-mail testowy. success.job_log_delete_all=Dzienniki zadań usunięto. success.changed_password=Hasło zmieniono. success.started_data_update=Rozpoczęto proces aktualizacji danych.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 04:56:21 UTC 2025 - 12.5K bytes - Viewed (0)