- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 72 for successors (0.06 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/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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
} else { firstException.addSuppressed(throwable) } } val nextPlan = connectResult.nextPlan if (nextPlan != null) { // Try this plan's successor before deferred plans because it won the race! routePlanner.deferredPlans.addFirst(nextPlan) } } } finally { cancelInFlightConnects() } throw firstException!!
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
// Realm accessors assertNull(auth.getRealm()); auth.setRealm("EXAMPLE.COM"); assertEquals("EXAMPLE.COM", auth.getRealm()); // Service accessors assertEquals("cifs", auth.getService()); auth.setService(""); assertEquals("", auth.getService()); // Lifetime accessors (edge: zero/negative) auth.setUserLifeTime(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
assertSame(sid, captor.getValue()[0]); } @Test @DisplayName("Weak resolve via initContext triggers only once on accessors") void testResolveWeakInitContext() throws SmbException, CIFSException { SID sid = new SID("S-1-5-21-1-2"); sid.initContext("srv", mockCtx);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
values[size] = value; insertIntoTableKToV(size, keyHash); insertIntoTableVToK(size, valueHash); int successor = (predecessor == ENDPOINT) ? firstInInsertionOrder : nextInInsertionOrder[predecessor]; setSucceeds(predecessor, size); setSucceeds(size, successor); size++; modCount++; return null; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
import jcifs.SmbConstants; import jcifs.internal.smb1.ServerMessageBlock; /** * Unit tests for {@link SmbComNTCreateAndX}. The tests exercise the * constructor’s flag handling, response creation and simple accessors. * * <p>All tests run in the same package as the class under test so that * package‑private members are visible if required. */ @ExtendWith(MockitoExtension.class) class SmbComNTCreateAndXTest { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
assertEquals(State.HALF_OPEN, circuitBreaker.getState(), "Should be in HALF_OPEN after first success"); // Need successThreshold (2) consecutive successes to close the circuit // Second success should close the circuit (threshold is 2) result = circuitBreaker.executeWithCircuitBreaker(() -> "success 1");
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/test/java/jcifs/util/SimpleCircuitBreakerTest.java
breaker.call(() -> { throw new RuntimeException("Test"); }); } else { // Some successes breaker.call(() -> "success"); successCount.incrementAndGet(); } } catch (Exception e) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0)