- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for CacheEntry (0.67 sec)
-
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 listingRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
// Verify cache entry was created DirectoryCacheEntry cacheEntry = directoryLeaseManager.getCacheEntry(directoryPath); assertNotNull(cacheEntry); assertEquals(directoryPath, cacheEntry.getDirectoryPath()); assertEquals(expectedKey, cacheEntry.getLeaseKey()); assertEquals(scope, cacheEntry.getScope()); } @Test public void testGetCacheEntry() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
this.resolveOrder = tc.getConfig().getResolveOrder(); initCache(tc); } static final class CacheEntry { Name hostName; NbtAddress address; long expiration; CacheEntry(final Name hostName, final NbtAddress address, final long expiration) { this.hostName = hostName; this.address = address;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
Smb2LeaseKey leaseKey = baseLeaseManager.requestLease(directoryPath, requestedState); // Create directory cache entry DirectoryCacheEntry cacheEntry = new DirectoryCacheEntry(directoryPath, leaseKey, scope); directoryCache.put(directoryPath, cacheEntry); leaseToPath.put(leaseKey, directoryPath); // Start change notification if enabled Configuration config = context.getConfig();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0)