Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for getLeaseKey (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            assertNotNull(cacheEntry);
            assertEquals(directoryPath, cacheEntry.getDirectoryPath());
            assertEquals(expectedKey, cacheEntry.getLeaseKey());
            assertEquals(scope, cacheEntry.getScope());
        }
    
        @Test
        public void testGetCacheEntry() {
            String directoryPath = "/test/dir";
            Smb2LeaseKey leaseKey = new Smb2LeaseKey();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                return directoryPath;
            }
    
            /**
             * Gets the lease key associated with this notification handle
             * @return the lease key
             */
            public Smb2LeaseKey getLeaseKey() {
                return leaseKey;
            }
    
            /**
             * Gets the SMB file handle for the monitored directory
             * @return the directory file
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            }
    
            /**
             * Gets the unique lease key identifier for this lease entry
             * @return the lease key
             */
            public Smb2LeaseKey getLeaseKey() {
                return leaseKey;
            }
    
            /**
             * Gets the current lease state flags for this entry
             * @return the current lease state
             */
    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/02-persistent-handles-design.md

            handleType = HandleType.DURABLE_V1;
        } else {
            return;  // No durable handle support
        }
        
        long timeout = config.getDurableHandleTimeout();
        Smb2LeaseKey leaseKey = getLeaseKey();  // Get associated lease if any
        
        handleGuid = handleManager.requestDurableHandle(getPath(), handleType, 
                                                        timeout, leaseKey);
        durableHandleRequested = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

                        LeaseManager leaseManager = session.getLeaseManager();
                        if (leaseManager != null) {
                            leaseManager.updateLease(resp.getLeaseKey(), resp.getLeaseState());
                        }
                    }
    
                    fh = new SmbFileHandleImpl(config, resp.getFileId(), h, uncPath, flags, access, 0, 0, resp.getEndOfFile());
    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