- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for hasChanges (0.83 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
assertTrue(entry.hasChanges()); // Clear changes to test next scenario entry.markComplete(); assertFalse(entry.hasChanges()); // Update with same values - should not mark as changed (no actual change) entry.updateChild(childName, 1024L, 1000L, false, 0x20, 500L, 800L); assertFalse(entry.hasChanges());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
*/ public boolean needsRefresh() { return isExpired() || hasChanges; } /** * Mark the cache as complete (full enumeration cached) */ public void markComplete() { lock.writeLock().lock(); try { this.isComplete = true; this.hasChanges = false; this.lastUpdateTime = System.currentTimeMillis(); } finally {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
} public boolean needsRefresh() { return isExpired() || hasChanges; } public void markComplete() { lock.writeLock().lock(); try { this.isComplete = true; this.hasChanges = false; this.lastUpdateTime = System.currentTimeMillis(); } finally { lock.writeLock().unlock();
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/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
} for (Thread thread : readThreads) { thread.join(5000); } // Verify final state assertEquals(100, entry.getChildren().size()); assertTrue(entry.hasChanges()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0)