Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HALF_OPEN (0.35 sec)

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

                    if (state.compareAndSet(State.OPEN, State.HALF_OPEN)) {
                        stateChangeTime.set(System.currentTimeMillis());
                        halfOpenSuccesses.set(0);
                        log.info("Circuit breaker {} transitioning from OPEN to HALF_OPEN", name);
                        return State.HALF_OPEN;
                    }
                    // Another thread changed the state, re-evaluate
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SmbCircuitBreaker.java

                if (currentState == State.OPEN && shouldAttemptReset()) {
                    log.debug("[{}] Attempting to reset circuit breaker from OPEN to HALF_OPEN", name);
                    transitionTo(State.HALF_OPEN);
                    currentState = State.HALF_OPEN;
                }
    
                // Block if circuit is open
                if (currentState == State.OPEN) {
                    totalRequests.incrementAndGet();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top