Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for removePendingOperation (0.17 sec)

  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() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top