Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for explicitClose (0.08 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Assert
            verify(tree, times(1)).release();
        }
    
        @Test
        @DisplayName("close() closes when there is a next element and releases handle")
        void explicitClose() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            FileEntry initial = entry("x");
            FileEntry[] page1 = new FileEntry[] { entry("y") };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. docs/smb3-features/02-persistent-handles-design.md

        SESSION_EXPIRED,      // Session timeout
        SERVER_REBOOT,        // Server restart
        HANDLE_EXPIRED,       // Handle timeout reached
        LEASE_BREAK,         // Associated lease broken
        EXPLICIT_CLOSE       // User closed handle
    }
    
    public class HandleBreakHandler {
        public void handleBreak(HandleInfo handle, HandleBreakReason reason) {
            switch (reason) {
                case NETWORK_FAILURE:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top