Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for evaluateState (0.05 seconds)

  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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
Back to Top