Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for persisted (1.68 sec)

  1. 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)
  2. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.internal.smb2.persistent.HandleGuid;
    import jcifs.internal.smb2.persistent.HandleInfo;
    import jcifs.internal.smb2.persistent.HandleReconnector;
    import jcifs.internal.smb2.persistent.HandleType;
    import jcifs.internal.smb2.persistent.PersistentHandleManager;
    
    /**
     * Test class for HandleReconnector functionality
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

    import org.mockito.MockitoAnnotations;
    
    import jcifs.CIFSContext;
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    import jcifs.internal.smb2.persistent.HandleGuid;
    import jcifs.internal.smb2.persistent.HandleInfo;
    import jcifs.internal.smb2.persistent.HandleType;
    import jcifs.internal.smb2.persistent.PersistentHandleManager;
    
    /**
     * Test class for PersistentHandleManager functionality
     */
    public class PersistentHandleManagerTest {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

    /*
     * © 2025 CodeLibs, Inc.
     */
    package jcifs.tests.persistent;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    import java.util.UUID;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.smb2.persistent.HandleGuid;
    
    /**
     * Test class for HandleGuid functionality
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/Smb2HandleCapabilities.java

     * Lesser General Public License for more details.
     */
    package jcifs.internal.smb2.persistent;
    
    /**
     * Constants for SMB2/3 durable and persistent handle capabilities.
     */
    public final class Smb2HandleCapabilities {
    
        /**
         * Flag indicating persistent handle capability
         */
        public static final int SMB2_DHANDLE_FLAG_PERSISTENT = 0x00000002;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleType.java

         */
        DURABLE_V1(1),
    
        /**
         * SMB 3.0 durable handle V2 - with timeout configuration
         */
        DURABLE_V2(2),
    
        /**
         * SMB 3.0 persistent handle - survives server reboot
         */
        PERSISTENT(3);
    
        private final int value;
    
        HandleType(int value) {
            this.value = value;
        }
    
        /**
         * Get the numeric value of this handle type
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.7K 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/org/codelibs/curl/CurlException.java

         * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
         *              (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)
         */
        public CurlException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

     * Lesser General Public License for more details.
     */
    package jcifs.internal.smb2.persistent;
    
    import java.io.Serializable;
    import java.nio.ByteBuffer;
    import java.util.UUID;
    
    /**
     * Handle GUID structure for SMB2/3 durable and persistent handles.
     * Provides a unique identifier for each handle that can be used
     * for reconnection 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
    - 4.5K bytes
    - Viewed (0)
Back to top