- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for getDirectoryPath (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
return failureCounts.getOrDefault(handle.getDirectoryPath(), 0); } /** * Increment failure count for a handle * * @param handle notification handle */ private void incrementFailureCount(ChangeNotificationHandle handle) { failureCounts.compute(handle.getDirectoryPath(), (path, count) -> count == null ? 1 : count + 1); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
} finally { lock.writeLock().unlock(); } } /** * Gets the directory path for this cache entry * @return the directory path */ public String getDirectoryPath() { return directoryPath; } /** * Gets the lease key associated with this directory cache * @return the lease key */ public Smb2LeaseKey getLeaseKey() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
entry = new DirectoryCacheEntry(directoryPath, leaseKey, DirectoryCacheScope.IMMEDIATE_CHILDREN); } @Test public void testConstructor() { assertEquals(directoryPath, entry.getDirectoryPath()); assertEquals(leaseKey, entry.getLeaseKey()); assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, entry.getScope()); assertFalse(entry.isComplete()); assertFalse(entry.hasChanges());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 8.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
// Step 2: Verify cache entry was created DirectoryCacheEntry cacheEntry = directoryLeaseManager.getCacheEntry(directoryPath); assertNotNull(cacheEntry); assertEquals(directoryPath, cacheEntry.getDirectoryPath()); assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, cacheEntry.getScope()); assertFalse(cacheEntry.isComplete()); // Step 3: Verify can cache directory listingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0)