Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 1,221 for lease (0.02 seconds)

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

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lease;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  2. cmd/etcd.go

    	timeoutCtx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    	lease, err := client.Grant(timeoutCtx, ttl)
    	if err != nil {
    		return etcdErrToErr(err, client.Endpoints())
    	}
    	_, err = client.Put(timeoutCtx, key, string(data), etcd.WithLease(lease.ID))
    	etcdLogIf(ctx, err)
    	return etcdErrToErr(err, client.Endpoints())
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. docs/smb3-features/02-persistent-handles-design.md

            private final HandleType type;
            private final long timeout;
            private final long createTime;
            private volatile long lastAccessTime;
            private final Smb2LeaseKey leaseKey;  // Associated lease if any
            private volatile boolean reconnecting;
            private transient SmbFile file;  // Not serialized
            
            public HandleInfo(String path, HandleGuid guid, byte[] fileId, 
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheScope.java

     * License along with this library; if not, write to the Free Software
     * 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,
    
    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)
  5. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

            DurableHandleReconnect reconnectCtx = new DurableHandleReconnect(info.getFileId());
    
            // This would typically involve:
            // 1. Creating a new Smb2CreateRequest with reconnect context
            // 2. Adding lease context if needed
            // 3. Sending the request through the appropriate transport
            // 4. Processing the response
    
            // For now, we'll return false to indicate that the concrete implementation
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 8.5K bytes
    - Click Count (1)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

                    }
    
                    // Cleanup lease manager
                    if (leaseManager != null) {
                        try {
                            leaseManager.shutdown();
                            log.debug("Lease manager shutdown on session logoff");
                        } catch (Exception e) {
                            log.warn("Error shutting down lease manager during logoff", e);
                        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/config/BaseConfiguration.java

        /** Whether to use SMB2/SMB3 leases for caching */
        protected boolean useLease = true;
        /** Lease timeout in milliseconds */
        protected int leaseTimeout = 30000;
        /** Maximum number of concurrent leases */
        protected int maxLeases = 1000;
        /** Preferred lease version (1 or 2) */
        protected int leaseVersion = 2;
        /** Lease break timeout in seconds (per MS-SMB2 spec) */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbFile.java

    import jcifs.internal.smb2.info.Smb2QueryInfoRequest;
    import jcifs.internal.smb2.info.Smb2QueryInfoResponse;
    import jcifs.internal.smb2.info.Smb2SetInfoRequest;
    import jcifs.internal.smb2.lease.LeaseManager;
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    import jcifs.internal.smb2.lease.Smb2LeaseState;
    import jcifs.internal.smb2.persistent.PersistentHandleManager;
    import jcifs.util.Strings;
    
    /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lease;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/Configuration.java

         * Property {@code jcifs.smb.client.useLease} (boolean, default true)
         *
         * @return whether to use SMB2/SMB3 leases for caching
         * @since 2.2
         */
        boolean isUseLease();
    
        /**
         * Property {@code jcifs.smb.client.leaseTimeout} (int, default 30000)
         *
         * @return lease timeout in milliseconds
         * @since 2.2
         */
        int getLeaseTimeout();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
Back to Top