Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for useLeases (0.04 sec)

  1. src/main/java/jcifs/config/PropertyConfiguration.java

            if (value != null) {
                this.witnessServiceDiscovery = Boolean.parseBoolean(value);
            }
    
            value = props.getProperty("jcifs.smb.client.useLeases");
            if (value != null) {
                this.useLeases = Boolean.parseBoolean(value);
            }
    
            value = props.getProperty("jcifs.smb.client.usePersistentHandles");
            if (value != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. README.md

    jcifs.smb.client.maxMpxCount=10
    ```
    
    ### Usage with Properties
    
    ```java
    Properties props = new Properties();
    props.setProperty("jcifs.smb.client.domain", "MYDOMAIN");
    props.setProperty("jcifs.smb.client.useLeases", "true");
    
    Configuration config = new PropertyConfiguration(props);
    CIFSContext context = new BaseContext(config);
    ```
    
    ## Development
    
    ### Build Commands
    ```bash
    # Compile the source code
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. docs/smb3-features/01-smb3-lease-design.md

        public static final String USE_LEASES = "jcifs.smb.client.useLeases";
        public static final String LEASE_TIMEOUT = "jcifs.smb.client.leaseTimeout";
        public static final String MAX_LEASES = "jcifs.smb.client.maxLeases";
        public static final String LEASE_VERSION = "jcifs.smb.client.leaseVersion";
        
        public boolean isUseLeases() {
            return getBooleanProperty(USE_LEASES, true);
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

        /**
         * Flag indicating whether automatic witness service discovery is enabled
         */
        protected boolean witnessServiceDiscovery = true;
    
        // SMB3 Lease support
        protected boolean useLeases = true;
    
        // SMB3 Persistent handle support
        protected long persistentHandleTimeout = 120000; // 2 minutes default
    
        /**
         * Constructs a BaseConfiguration with default settings
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  5. docs/SMB3_IMPLEMENTATION_PLAN.md

      - Failover clustering
      - RDMA-capable network adapters
      - DFS namespace
      - Multiple network interfaces
    
    ## Configuration Properties
    
    ```properties
    # Lease configuration
    jcifs.smb.client.useLeases=true
    jcifs.smb.client.leaseTimeout=30000
    
    # Persistent handles
    jcifs.smb.client.usePersistentHandles=true
    jcifs.smb.client.durableTimeout=120000
    
    # Multi-channel
    jcifs.smb.client.useMultiChannel=true
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Configuration.java

         *
         * @return whether to force extended security usage
         */
        boolean isForceExtendedSecurity();
    
        /**
         * Property {@code jcifs.smb.client.useLease} (boolean, default true)
         *
         * @return whether to use SMB2/SMB3 leases for caching
         * @since 2.2
         */
        boolean isUseLease();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top