Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for onSuccess (0.03 sec)

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

                    throw (CIFSException) e;
                }
                throw new CIFSException("Circuit breaker operation failed", e);
            }
        }
    
        private void onSuccess() {
            onSuccess(0);
        }
    
        private void onSuccess(long responseTimeMs) {
            State currentState = state.get();
            totalSuccesses.incrementAndGet();
            consecutiveSuccesses.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)
  2. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                }
                throw new CircuitBreakerOpenException("Circuit breaker " + name + " is open");
            }
    
            try {
                T result = callable.call();
                onSuccess();
                return result;
            } catch (Exception e) {
                onFailure();
                throw e;
            }
        }
    
        /**
         * Execute a runnable through the circuit breaker
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top