- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 160 for leasing (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/smb3-features/04-directory-leasing-design.md
# Directory Leasing Feature - Detailed Design Document ## 1. Overview Directory leasing extends the SMB3 lease concept to directories, enabling client-side caching of directory metadata and change notifications. This significantly improves performance for applications that frequently enumerate directories or monitor directory changes. ## 2. Protocol Specification Reference - **MS-SMB2 Section 2.2.13.2.12**: SMB2_CREATE_REQUEST_LEASE_V2 for directories
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2Constants.java
*/ public static final int SMB2_DIALECT_ANY = 0x02FF; /** * Server supports DFS */ public static final int SMB2_GLOBAL_CAP_DFS = 0x1; /** * Server supports leasing */ public static final int SMB2_GLOBAL_CAP_LEASING = 0x2; /** * Server supports multi-credit operations */ public static final int SMB2_GLOBAL_CAP_LARGE_MTU = 0x4; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
assertEquals(0x1, Smb2Constants.SMB2_GLOBAL_CAP_DFS, "DFS capability must be 0x1"); } @Test @DisplayName("Leasing capability should be 0x2") void testGlobalCapLeasing() { assertEquals(0x2, Smb2Constants.SMB2_GLOBAL_CAP_LEASING, "Leasing capability must be 0x2"); } @Test @DisplayName("Large MTU capability should be 0x4")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
* @return lease key */ public Smb2LeaseKey requestDirectoryLease(String directoryPath, int requestedState, DirectoryCacheScope scope) { // Directory leasing requires SMB 3.0 or higher // MS-SMB2: Level 2 leasing (which includes directory leasing) is only supported in SMB 3.0+ // We'll validate this when we actually need to use the session // Request base leaseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheScope.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.lease; /** * Defines the scope of directory caching for SMB3 directory leasing */ public enum DirectoryCacheScope { /** * Cache only direct children of the directory */ IMMEDIATE_CHILDREN, /** * Cache entire subtree recursively (if supported by server)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/config/PropertyConfiguration.java
} } catch (NumberFormatException e) { // Invalid values ignored } } // Directory leasing configuration value = props.getProperty("jcifs.smb.client.useDirectoryLeasing"); if (value != null) { this.useDirectoryLeasing = Boolean.parseBoolean(value); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.smb.SmbFile; /** * Integration tests for directory leasing functionality */ public class DirectoryLeasingIntegrationTest { @Mock private CIFSContext context; @Mock private Configuration config; @Mock private SmbFile mockFile1;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) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.internal.util.SMBUtil; import jcifs.smb.SmbFile; /** * Handles directory change notifications for SMB3 directory leasing */ public class DirectoryChangeNotifier { private static final Logger log = LoggerFactory.getLogger(DirectoryChangeNotifier.class); // Backoff and timing constants (in ms)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/DirectoryLeaseContext.java
*/ package jcifs.internal.smb2.lease; import jcifs.internal.smb2.create.CreateContextRequest; import jcifs.internal.util.SMBUtil; /** * Directory Lease Context for SMB3 directory leasing * * This context extends standard lease context with directory-specific metadata * for enhanced directory caching capabilities. */ public class DirectoryLeaseContext implements CreateContextRequest { /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 9.4K bytes - Click Count (0) -
docs/resiliency/resiliency-verify-healing-script.sh
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 21 04:24:45 GMT 2024 - 996 bytes - Click Count (0)