Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for LeaseState (1.12 sec)

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

         * @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) {
            this.leaseState = leaseState;
        }
    
        /**
         * Gets the lease flags for this request
         * @return the lease flags
         */
    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/lease/DirectoryLeaseContext.java

         * @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) {
            this.leaseState = leaseState;
        }
    
        /**
         * Gets the cache scope for directory enumeration caching
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

            this.leaseState = leaseState;
            this.flags = 0;
        }
    
        /**
         * Create a lease break acknowledgment
         *
         * @param context CIFS context
         * @param leaseKey lease key
         * @param leaseState acknowledged lease state
         */
        public Smb2LeaseBreakAcknowledgment(CIFSContext context, Smb2LeaseKey leaseKey, int leaseState) {
            this(context.getConfig(), leaseKey, leaseState);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

         * @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) {
            this.leaseState = leaseState;
        }
    
        /**
         * Gets the lease flags for this V2 request
         * @return the lease flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

            byte[] keyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16);
            this.leaseKey = new Smb2LeaseKey(keyBytes);
            bufferIndex += 16;
    
            // LeaseState (4 bytes)
            this.leaseState = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // LeaseDuration (8 bytes)
            this.leaseDuration = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

         */
        public static final String CONTEXT_NAME = "RqLs";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
    
        private Smb2LeaseKey leaseKey;
        private int leaseState;
        private int leaseFlags;
    
        /**
         * Create a new lease V1 context response
         */
        public LeaseV1CreateContextResponse() {
        }
    
        @Override
        public byte[] getName() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

         */
        public static final String CONTEXT_NAME = "RqL2";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
    
        private Smb2LeaseKey leaseKey;
        private int leaseState;
        private int leaseFlags;
        private Smb2LeaseKey parentLeaseKey;
        private int epoch;
    
        /**
         * Create a new lease V2 context response
         */
        public LeaseV2CreateContextResponse() {
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top