- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for setMaxCacheAge (0.15 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
return maxCacheAge; } /** * Sets the maximum age for cached directory data * @param maxCacheAge the maximum cache age in milliseconds */ public void setMaxCacheAge(long maxCacheAge) { this.maxCacheAge = maxCacheAge; } /** * Checks if directory change notifications are enabled for cache invalidationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
context.setCacheScope(DirectoryCacheScope.RECURSIVE_TREE); assertEquals(DirectoryCacheScope.RECURSIVE_TREE, context.getCacheScope()); context.setMaxCacheAge(60000L); assertEquals(60000L, context.getMaxCacheAge()); context.setNotificationEnabled(false); assertFalse(context.isNotificationEnabled()); context.setNotificationFilter(0xFF);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
DirectoryLeaseContext context = new DirectoryLeaseContext(key, DirectoryLeaseState.DIRECTORY_FULL, DirectoryCacheScope.RECURSIVE_TREE); context.setMaxCacheAge(60000L); context.setNotificationEnabled(true); context.setNotificationFilter(0x1F); // Test encoding and decoding roundtrip byte[] buffer = new byte[context.size()];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0)