- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for getLeaseKey (0.16 sec)
-
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) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
assertEquals(context.getNotificationFilter(), decodedContext.getNotificationFilter()); assertArrayEquals(context.getLeaseKey().getKey(), decodedContext.getLeaseKey().getKey()); } @Test public void testConcurrentAccess() throws Exception { String directoryPath = "/test/concurrent";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
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) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
public byte[] getName() { return CONTEXT_NAME_BYTES; } /** * Gets the lease key for this directory lease context * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Sets the lease key for this directory lease context * @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 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
public long getLastAccessTime() { return lastAccessTime; } /** * Get the associated lease key * @return the lease key (can be null) */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Check if this handle is currently reconnecting * @return true if reconnecting */ public boolean isReconnecting() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
} @Test public void testConstructor() { assertEquals(directoryPath, entry.getDirectoryPath()); assertEquals(leaseKey, entry.getLeaseKey()); assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, entry.getScope()); assertFalse(entry.isComplete()); assertFalse(entry.hasChanges()); assertTrue(entry.getChildren().isEmpty()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
@Override public byte[] getName() { return CONTEXT_NAME_BYTES; } /** * Gets the lease key for this V2 lease request * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Sets the lease key for this V2 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 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
return directoryPath; } /** * Gets the lease key associated with this directory cache * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Checks if the complete directory enumeration has been cached * @return true if full enumeration is cached */ public boolean isComplete() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
// Handle the lease break leaseManager.handleLeaseBreak( breakNotif.getLeaseKey(), breakNotif.getNewLeaseState() ); // Send acknowledgment Smb2LeaseBreakAcknowledgment ack = new Smb2LeaseBreakAcknowledgment( breakNotif.getLeaseKey(), breakNotif.getNewLeaseState() );Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0)