- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for CircuitBreakerOpenException (0.13 seconds)
-
src/main/java/jcifs/util/SimpleCircuitBreaker.java
} } /** * Exception thrown when circuit breaker is open */ public static class CircuitBreakerOpenException extends Exception { private static final long serialVersionUID = 1L; public CircuitBreakerOpenException(String message) { super(message); } }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) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
@DisplayName("Test requests rejected when circuit is open") void testRequestsRejectedWhenOpen() { // Open the circuit circuitBreaker.tripBreaker(); assertThrows(SimpleCircuitBreaker.CircuitBreakerOpenException.class, () -> circuitBreaker.call(() -> "should not execute")); SimpleCircuitBreaker.Statistics stats = circuitBreaker.getStatistics(); assertEquals(1, stats.rejectedCalls); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
return null; } catch (IOException e) { throw new RuntimeException(e); } }); } catch (SimpleCircuitBreaker.CircuitBreakerOpenException e) { // Log circuit breaker rejection auditLogger.logSecurityViolation("Circuit breaker open for SMB connection",Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0)