- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for Smb2LeaseState (0.16 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
assertTrue(cacheEntry.isComplete()); // Simulate lease break with loss of read cache directoryLeaseManager.handleDirectoryLeaseBreak(leaseKey, Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING); // Cache should be invalidated assertFalse(cacheEntry.isComplete()); // Step 10: Test lease release
Registered: Sun Sep 07 00:10:21 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
// Handle lease break by updating cache behavior if ((newState & Smb2LeaseState.SMB2_LEASE_READ_CACHING) == 0) { // Lost read cache - invalidate directory cache entry.invalidate(); } if ((newState & Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING) == 0) { // Lost handle cache - may need to close directory handle
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
// Add lease context if needed // if (info.getLeaseKey() != null) { // request.addLeaseV1Context(info.getLeaseKey(), Smb2LeaseState.SMB2_LEASE_NONE); // } // return request; throw new UnsupportedOperationException("createReconnectionRequest requires Configuration access and should be "
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
// Add lease context if associated if (info.leaseKey != null) { createReq.addLeaseContext(info.leaseKey, Smb2LeaseState.SMB2_LEASE_NONE, false); } // Send create request Smb2CreateResponse response = (Smb2CreateResponse)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L); entry.markComplete(); // Break lease with loss of read cache int newState = Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING; // Lost read cache directoryLeaseManager.handleDirectoryLeaseBreak(leaseKey, newState); // Cache should be invalidated assertFalse(entry.isComplete());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
├── Smb2LeaseBreak.java - Lease break notification handling ├── Smb2LeaseContext.java - Lease context for create requests ├── Smb2LeaseKey.java - 16-byte lease key management ├── Smb2LeaseState.java - Lease state flags (R, H, W) └── LeaseManager.java - Central lease management ``` #### 1.2 Implementation Tasks
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
// Full lease for read/write/handle operations if (hasWriteAccess || hasDeleteAccess) { return Smb2LeaseState.SMB2_LEASE_FULL; // Read + Write + Handle } // Read + Handle for read operations else if (hasReadAccess) { return Smb2LeaseState.SMB2_LEASE_READ_HANDLE; // Read + Handle } // For execute or other special access, use minimal lease
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0)