- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 182 for leasing (0.22 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/smb/SmbFileDirectoryLeasingExtension.java
import jcifs.internal.smb2.lease.Smb2LeaseState; /** * Extension methods for SmbFile to support directory leasing functionality. * * This utility class provides static methods that enhance SmbFile operations with * directory leasing capabilities for improved performance through caching when * SMB3 directory leasing is available and enabled. */ public class SmbFileDirectoryLeasingExtension { /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 7.1K 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) -
docs/SMB3_IMPLEMENTATION_PLAN.md
- Update `SmbSession` for multi-channel awareness - Enhance `SmbTransport` for channel management --- ### Phase 4: Directory Leasing **Priority: MEDIUM** | **Estimated Effort: 2-3 weeks** Directory leasing extends the lease concept to directories for improved metadata caching. #### 4.1 Core Directory Lease Infrastructure ``` Package: jcifs.internal.smb2.lease
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 10.7K 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/internal/smb2/lease/DirectoryLeaseState.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.lease; /** * Defines directory lease state constants for SMB2/SMB3 directory leasing. * * This class provides constants and utility methods for managing directory lease states * in SMB2/SMB3 protocol implementations. Directory leases enable clients to cache
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 2.5K 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/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0)