Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for getLeaseKey (0.51 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            DirectoryCacheEntry entry = directoryCache.remove(directoryPath);
            if (entry != null) {
                leaseToPath.remove(entry.getLeaseKey());
                changeNotifier.stopWatching(directoryPath);
                baseLeaseManager.releaseLease(entry.getLeaseKey());
            }
        }
    
        /**
         * Shutdown the directory lease manager
         */
        public void shutdown() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         */
        public jcifs.internal.smb2.lease.Smb2LeaseKey getLeaseKey() {
            LeaseV2CreateContextResponse v2 = getLeaseV2Context();
            if (v2 != null) {
                return v2.getLeaseKey();
            }
            LeaseV1CreateContextResponse v1 = getLeaseV1Context();
            if (v1 != null) {
                return v1.getLeaseKey();
            }
            return null;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Gets the lease key from the V2 server response
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Gets the lease state granted by the server for V2
         * @return the granted lease state
         */
        public int getLeaseState() {
            return leaseState;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

            // request.addCreateContext(new DurableHandleReconnect(info.getFileId()));
    
            // Add lease context if needed
            // if (info.getLeaseKey() != null) {
            //     request.addLeaseV1Context(info.getLeaseKey(), Smb2LeaseState.SMB2_LEASE_NONE);
            // }
    
            // return request;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  5. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

        @Override
        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)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

        public Smb2LeaseBreakNotification(Configuration config) {
            super(config);
        }
    
        /**
         * Gets the lease key that is being broken
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Gets the current lease state before the break
         * @return the current lease state
         */
        public int getCurrentLeaseState() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        /**
         * Gets the lease key from the server response
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Gets the lease state granted by the server
         * @return the granted lease state
         */
        public int getLeaseState() {
            return leaseState;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

            this(context.getConfig(), leaseKey, leaseState);
        }
    
        /**
         * Gets the lease key for this acknowledgment
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Gets the lease state being acknowledged
         * @return the lease state
         */
        public int getLeaseState() {
            return leaseState;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. docs/smb3-features/04-directory-leasing-design.md

            DirectoryCacheEntry entry = directoryCache.remove(directoryPath);
            if (entry != null) {
                leaseToPath.remove(entry.getLeaseKey());
                changeNotifier.stopWatching(directoryPath);
                baseLeaseManager.releaseLease(entry.getLeaseKey());
            }
        }
        
        private void cleanupExpiredEntries() {
            List<String> expiredPaths = new ArrayList<>();
            
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

        public Smb2LeaseBreakResponse(Configuration config) {
            super(config);
        }
    
        /**
         * Gets the lease key from the break response
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Gets the granted lease state from the break response
         * @return the lease state
         */
        public int getLeaseState() {
            return leaseState;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top