Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isLeaseGranted (0.05 sec)

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

                }
                return null;
            }
        }
    
        /**
         * Check if a lease was granted in this response
         * @return true if a lease was granted
         */
        public boolean isLeaseGranted() {
            return getLeaseV1Context() != null || getLeaseV2Context() != null;
        }
    
        /**
         * Check if a durable handle was granted in this response
         * @return true if a durable handle was granted
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

                        }
                    }
    
                    // Update lease state if granted
                    if (config.isUseLeases() && resp.isLeaseGranted()) {
                        LeaseManager leaseManager = session.getLeaseManager();
                        if (leaseManager != null) {
                            leaseManager.updateLease(resp.getLeaseKey(), resp.getLeaseState());
    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