Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for backpressure (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

     * thrown and no [WebSocketListener.onFailure] callback is triggered, so callers should always check
     * the return value of `send()`.
     *
     * Use [queueSize] to monitor backpressure before sending. For large payloads, consider breaking
     * them into smaller messages or using HTTP requests instead.
     */
    interface WebSocket {
      /** Returns the original request that initiated this web socket. */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:45:14 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  3. 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");
                }
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
Back to Top