Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for removePendingOperation (0.11 seconds)

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

        }
    
        /**
         * Remove a pending operation
         *
         * @param operation operation to remove
         * @return true if operation was removed
         */
        public boolean removePendingOperation(CommonServerMessageBlock operation) {
            return pendingOperations.remove(operation);
        }
    
        /**
         * Clear all pending operations
         */
        public void clearPendingOperations() {
    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

            channelInfo.addPendingOperation(mockOperation);
            assertEquals(1, channelInfo.getRequestsPending());
            assertFalse(channelInfo.getPendingOperations().isEmpty());
    
            assertTrue(channelInfo.removePendingOperation(mockOperation));
            assertEquals(0, channelInfo.getRequestsPending());
    
            channelInfo.addPendingOperation(mockOperation);
            channelInfo.clearPendingOperations();
    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