Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getActiveRequests (0.68 sec)

  1. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                // Check active requests
                assertEquals(1, cbWithTracking.getActiveRequests(), "Should have 1 active request");
    
                // Complete the operation
                holdLatch.countDown();
                completeLatch.await();
                longRunningThread.join();
    
                assertEquals(0, cbWithTracking.getActiveRequests(), "Active requests should be 0 after completion");
    
            } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/SmbCircuitBreaker.java

            }
        }
    
        /**
         * Get current active requests count
         *
         * @return number of active requests
         */
        public int getActiveRequests() {
            return activeRequests.get();
        }
    
        /**
         * Get average response time
         *
         * @return average response time in milliseconds
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top