Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for persistent (0.15 sec)

  1. docs/smb3-features/02-persistent-handles-design.md

            
            // Persistent handles don't expire
            HandleInfo persistent = new HandleInfo(
                "/test/file2.txt",
                new HandleGuid(),
                new byte[16],
                HandleType.PERSISTENT,
                0,
                null
            );
            
            Thread.sleep(100);
            assertFalse(persistent.isExpired());
        }
        
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

         */
        public jcifs.internal.smb2.persistent.DurableHandleResponse getDurableHandleResponse() {
            if (this.createContexts != null) {
                for (CreateContextResponse ctx : this.createContexts) {
                    if (ctx instanceof jcifs.internal.smb2.persistent.DurableHandleResponse) {
                        return (jcifs.internal.smb2.persistent.DurableHandleResponse) ctx;
                    }
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

    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
     * - Expiration tracking for durable handles
     * - Thread-safe access to handle information
     */
    public class PersistentHandleManager {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java

    import jcifs.internal.smb2.persistent.DurableHandleReconnect;
    import jcifs.internal.smb2.persistent.DurableHandleRequest;
    import jcifs.internal.smb2.persistent.DurableHandleV2Request;
    import jcifs.internal.smb2.persistent.HandleGuid;
    import jcifs.internal.smb2.persistent.HandleType;
    import jcifs.internal.smb2.persistent.Smb2HandleCapabilities;
    
    /**
     * Test class for durable handle create context implementations
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

        /**
         * Create a new durable handle V2 request
         * @param timeoutMs the timeout in milliseconds (0 for persistent handles)
         * @param persistent true if this should be a persistent handle
         */
        public DurableHandleV2Request(long timeoutMs, boolean persistent) {
            this.timeoutMs = timeoutMs;
            this.flags = persistent ? Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT : 0;
            this.createGuid = new HandleGuid();
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

     * Lesser General Public License for more details.
     */
    package jcifs.internal.smb2.persistent;
    
    import java.io.Serializable;
    import java.util.Arrays;
    
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    
    /**
     * Information about a durable or persistent SMB handle.
     * This class holds all the necessary information to reconnect
     * a handle after network failures or server reboots.
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. docs/SMB3_IMPLEMENTATION_PLAN.md

    - Add lease break handling in `SmbTransport`
    
    ---
    
    ### Phase 2: Persistent Handles
    **Priority: HIGH** | **Estimated Effort: 4-5 weeks**
    
    Persistent handles allow connections to survive network interruptions and server failovers.
    
    #### 2.1 Core Persistent Handle Infrastructure
    ```
    Package: jcifs.internal.smb2.persistent
    ├── PersistentHandleContext.java     - Persistent handle create context
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            addCreateContext(new jcifs.internal.smb2.persistent.DurableHandleRequest());
        }
    
        /**
         * Add a durable handle V2 context to this request
         * @param timeoutMs the timeout in milliseconds (0 for persistent handles)
         * @param persistent true if this should be a persistent handle
         * @return the create GUID for this handle
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

    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
     */
    public class HandleInfoTest {
    
        private HandleGuid testGuid;
        private byte[] testFileId;
        private Smb2LeaseKey testLeaseKey;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Check if this is a persistent handle
         * @return true if persistent
         */
        public boolean isPersistent() {
            return (flags & Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT) != 0;
        }
    
        /**
         * Get the context name as string
         * @return the context name
         */
        public String getContextName() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top