Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for evaluateState (0.04 sec)

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

         */
        public <T> T call(Callable<T> callable, Callable<T> fallback) throws Exception {
            totalCalls.incrementAndGet();
    
            State currentState = evaluateState();
    
            if (currentState == State.OPEN) {
                rejectedCalls.incrementAndGet();
                if (fallback != null) {
                    log.debug("Circuit breaker {} is open, using fallback", name);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top