Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for getLeaseState (0.08 sec)

  1. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

        public void setLeaseKey(Smb2LeaseKey leaseKey) {
            this.leaseKey = leaseKey;
        }
    
        /**
         * Gets the requested lease state flags
         * @return the requested lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
        /**
         * Sets the requested lease state flags
         * @param leaseState the lease state to set
         */
        public void setLeaseState(int leaseState) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            this.leaseKey = leaseKey;
        }
    
        /**
         * Gets the requested lease state flags for V2
         * @return the requested lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
        /**
         * Sets the requested lease state flags for V2
         * @param leaseState the lease state to set
         */
        public void setLeaseState(int leaseState) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. docs/smb3-features/01-smb3-lease-design.md

            LeaseEntry entry = manager.getLease(key);
            assertNotNull(entry);
            assertEquals(requestedState, entry.getLeaseState());
            
            // Test lease break
            manager.handleLeaseBreak(key, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
            assertEquals(Smb2LeaseState.SMB2_LEASE_READ_CACHING, entry.getLeaseState());
        }
    }
    ```
    
    ### 8.2 Integration Tests
    ```java
    @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            this.leaseKey = leaseKey;
        }
    
        /**
         * Gets the current lease state flags for this directory
         * @return the lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
        /**
         * Sets the lease state flags for this directory
         * @param leaseState the lease state to set
         */
        public void setLeaseState(int leaseState) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

                        LeaseManager leaseManager = session.getLeaseManager();
                        if (leaseManager != null) {
                            leaseManager.updateLease(resp.getLeaseKey(), resp.getLeaseState());
                        }
                    }
    
                    fh = new SmbFileHandleImpl(config, resp.getFileId(), h, uncPath, flags, access, 0, 0, resp.getEndOfFile());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top