- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for canKeepHandlesOpen (0.06 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java
// Should return true when handle caching is enabled assertTrue(DirectoryLeaseState.canKeepHandlesOpen(Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING)); assertTrue(DirectoryLeaseState.canKeepHandlesOpen(DirectoryLeaseState.DIRECTORY_READ_HANDLE)); assertTrue(DirectoryLeaseState.canKeepHandlesOpen(DirectoryLeaseState.DIRECTORY_FULL)); // Should return false when handle caching is not enabled
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java
} /** * Check if directory can keep handles open * @param state lease state * @return true if directory handles can be kept open */ public static boolean canKeepHandlesOpen(int state) { return Smb2LeaseState.hasHandleCaching(state); } /** * Check if directory can cache modifications * @param state lease state
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 2.5K bytes - Viewed (0)