- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for backpressure (0.05 sec)
-
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
} } @Test public void testBackpressureControl() throws Exception { // Create circuit breaker with backpressure enabled SmbCircuitBreaker backpressureCircuitBreaker = new SmbCircuitBreaker("backpressure-test", 5, 2, 1000, 3, false, true, 2); try { CountDownLatch startLatch = new CountDownLatch(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
// Backpressure control if (backpressureEnabled && requestSemaphore != null) { if (!requestSemaphore.tryAcquire()) { totalBackpressureRejections.incrementAndGet(); throw new CIFSException("Circuit breaker '" + name + "' rejected request due to backpressure"); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0)