Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getMaxCacheAge (0.7 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            assertEquals(key, context.getLeaseKey());
            assertEquals(leaseState, context.getLeaseState());
            assertEquals(scope, context.getCacheScope());
            assertEquals(30000L, context.getMaxCacheAge());
            assertTrue(context.isNotificationEnabled());
            assertEquals(0, context.getNotificationFilter());
        }
    
        @Test
        public void testGetName() {
            Smb2LeaseKey key = new Smb2LeaseKey();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertEquals(context.getLeaseState(), decodedContext.getLeaseState());
            assertEquals(context.getCacheScope(), decodedContext.getCacheScope());
            assertEquals(context.getMaxCacheAge(), decodedContext.getMaxCacheAge());
            assertEquals(context.isNotificationEnabled(), decodedContext.isNotificationEnabled());
            assertEquals(context.getNotificationFilter(), decodedContext.getNotificationFilter());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

        }
    
        /**
         * Gets the maximum age for cached directory data before requiring refresh
         * @return the maximum cache age in milliseconds
         */
        public long getMaxCacheAge() {
            return maxCacheAge;
        }
    
        /**
         * Sets the maximum age for cached directory data
         * @param maxCacheAge the maximum cache age in milliseconds
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top