Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for LeaseState (0.1 sec)

  1. docs/smb3-features/01-smb3-lease-design.md

            
            public boolean hasReadCache() {
                return (leaseState & Smb2LeaseState.SMB2_LEASE_READ_CACHING) != 0;
            }
            
            public boolean hasWriteCache() {
                return (leaseState & Smb2LeaseState.SMB2_LEASE_WRITE_CACHING) != 0;
            }
            
            public boolean hasHandleCache() {
                return (leaseState & Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING) != 0;
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            Smb2LeaseKey key = new Smb2LeaseKey();
            int leaseState = DirectoryLeaseState.DIRECTORY_READ_HANDLE;
            DirectoryCacheScope scope = DirectoryCacheScope.IMMEDIATE_CHILDREN;
    
            DirectoryLeaseContext context = new DirectoryLeaseContext(key, leaseState, scope);
    
            assertEquals(key, context.getLeaseKey());
            assertEquals(leaseState, context.getLeaseState());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            public boolean hasReadCache() {
                return Smb2LeaseState.hasReadCaching(leaseState);
            }
    
            /**
             * Check if lease has write caching
             *
             * @return true if write caching is enabled
             */
            public boolean hasWriteCache() {
                return Smb2LeaseState.hasWriteCaching(leaseState);
            }
    
            /**
             * Check if lease has handle caching
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. docs/smb3-features/04-directory-leasing-design.md

        public static final int DIRECTORY_LEASE_FLAG_NOTIFICATIONS = 0x00000002;
        
        public DirectoryLeaseContext(Smb2LeaseKey key, int leaseState, DirectoryCacheScope scope) {
            super();
            setLeaseKey(key);
            setLeaseState(leaseState);
            this.cacheScope = scope;
            this.maxCacheAge = 30000;  // 30 seconds default
            this.notificationEnabled = true;
        }
        
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top