Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for topLocks (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int CAP_NT_SMBS = 0x0010;
        /** RPC remote APIs capability */
        int CAP_RPC_REMOTE_APIS = 0x0020;
        /** 32-bit status codes capability */
        int CAP_STATUS32 = 0x0040;
        /** Level II oplocks capability */
        int CAP_LEVEL_II_OPLOCKS = 0x0080;
        /** Lock and read capability */
        int CAP_LOCK_AND_READ = 0x0100;
        /** NT find capability */
        int CAP_NT_FIND = 0x0200;
        /** DFS capability */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbConstants.java

         */
        int CAP_RPC_REMOTE_APIS = 0x0020;
        /**
         * NT status codes are supported capability.
         */
        int CAP_STATUS32 = 0x0040;
        /**
         * Level II oplocks are supported capability.
         */
        int CAP_LEVEL_II_OPLOCKS = 0x0080;
        /**
         * Lock and read operation is supported capability.
         */
        int CAP_LOCK_AND_READ = 0x0100;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read() throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if (read(this.tmp, 0, 1) == -1) {
                return -1;
            }
            return this.tmp[0] & 0xFF;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. docs/smb3-features/01-smb3-lease-design.md

            // Force lease release if break handling times out
            releaseLease(key);
            log.warn("Lease break timeout for key: {}", key);
        }
    }
    ```
    
    ### 10.2 Fallback to Oplocks
    ```java
    if (!context.getConfig().isUseLeases() || !session.supports(SMB3_0)) {
        // Fall back to traditional oplock mechanism
        useOplockInstead();
    }
    ```
    
    ## 11. Monitoring and Metrics
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top