Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 264 for leases (0.04 sec)

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

         * @return the granted lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
        /**
         * Gets the lease flags from the V2 server response
         * @return the lease flags
         */
        public int getLeaseFlags() {
            return leaseFlags;
        }
    
        /**
         * Gets the parent lease key from the V2 response
         * @return the parent lease key
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

         * @return the lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
        /**
         * Gets the lease flags for this acknowledgment
         * @return the lease flags
         */
        public int getLeaseFlags() {
            return flags;
        }
    
        /**
         * Sets the lease flags for this acknowledgment
         * @param flags the lease flags to set
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Gets the lease key for this lease request
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Sets the lease key for this lease request
         * @param leaseKey the lease key to set
         */
        public void setLeaseKey(Smb2LeaseKey leaseKey) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java

     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lease;
    
    /**
     * SMB2 Lease State constants
     *
     * MS-SMB2 2.2.13.2.8
     */
    public class Smb2LeaseState {
    
        /**
         * No lease caching
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

         * @return the current lease state
         */
        public int getCurrentLeaseState() {
            return currentLeaseState;
        }
    
        /**
         * Gets the new lease state after the break
         * @return the new lease state
         */
        public int getNewLeaseState() {
            return newLeaseState;
        }
    
        /**
         * Gets the reason for the lease break
         * @return the break reason
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            assertArrayEquals(testKey.getKey(), encodedKey);
    
            // Verify lease state at offset 40 (24 + 16 for key)
            assertEquals(testState, SMBUtil.readInt4(buffer, 40));
    
            // Verify lease flags at offset 44 (40 + 4 for state)
            assertEquals(0, SMBUtil.readInt4(buffer, 44));
    
            // Verify lease duration at offset 48 (44 + 4 for flags) - should be 0 (reserved)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. docs/smb3-features/04-directory-leasing-design.md

    - **MS-SMB2 Section 2.2.36**: SMB2 Change Notify Response
    - **MS-SMB2 Section 3.3.5.9.11**: Directory Leasing and Caching
    
    ## 3. Directory Lease Types
    
    ### 3.1 Directory-Specific Lease States
    ```java
    public class DirectoryLeaseState extends Smb2LeaseState {
        // Standard lease states apply, plus directory-specific semantics:
        
        // READ_CACHING for directories means:
        // - Can cache directory enumeration results
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Gets the lease key for this directory lease context
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Sets the lease key for this directory lease context
         * @param leaseKey the lease key to set
         */
        public void setLeaseKey(Smb2LeaseKey leaseKey) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

                throw SmbException.wrap(e);
            }
        }
    
        /**
         * Request directory lease for the given directory
         *
         * @param smbFile the directory to request lease for
         * @param requestedState requested lease state
         * @param scope cache scope
         * @return lease key or null if not supported
         * @throws SmbException if an error occurs
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            setRequestedOplockLevel(SMB2_OPLOCK_LEVEL_LEASE);
        }
    
        /**
         * Add a lease V2 context to this request
         * @param leaseKey the lease key
         * @param requestedState the requested lease state
         * @param parentLeaseKey the parent lease key (can be null)
         * @param epoch the lease epoch
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
Back to top