Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for clearPendingOperations (0.17 seconds)

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

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

            return pendingOperations.remove(operation);
        }
    
        /**
         * Clear all pending operations
         */
        public void clearPendingOperations() {
            pendingOperations.clear();
        }
    
        /**
         * Calculate channel score for load balancing (higher is better)
         *
         * @return channel score
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertTrue(channelInfo.removePendingOperation(mockOperation));
            assertEquals(0, channelInfo.getRequestsPending());
    
            channelInfo.addPendingOperation(mockOperation);
            channelInfo.clearPendingOperations();
            assertEquals(0, channelInfo.getRequestsPending());
        }
    
        @Test
        void testScoring() {
            channelInfo.setState(ChannelState.ESTABLISHED);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top