Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 801 for lease (0.03 sec)

  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;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. tests/compose.yml

          - ACCEPT_EULA=Y
          - MSSQL_SA_PASSWORD=LoremIpsum86
      tidb:
        image: 'pingcap/tidb:v6.5.0'
        ports:
          - "127.0.0.1:9940:4000"
        command: /tidb-server -store unistore -path "" -lease 0s > tidb.log 2>&1 &
      gaussdb:
        image: 'opengauss/opengauss:7.0.0-RC1.B023'
        hostname: opengauss-server
        ports:
          - "127.0.0.1:9950:5432"
        environment:
          - TZ=Asia/Shanghai
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 04 04:07:30 UTC 2025
    - 1.9K bytes
    - Viewed (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, 
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  4. 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);
                        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. 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,
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 1.3K bytes
    - Viewed (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) */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSContext;
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    
    /**
     * Manager for persistent and durable SMB handles.
     *
     * This class provides:
     * - Handle lifecycle management
     * - Persistent storage for persistent handles
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. 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;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    import jcifs.internal.smb2.persistent.HandleGuid;
    import jcifs.internal.smb2.persistent.HandleInfo;
    import jcifs.internal.smb2.persistent.HandleType;
    
    /**
     * Test class for HandleInfo functionality
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top