Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 153 for reconnection (0.1 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                }
                return null;
            } finally {
                lock.readLock().unlock();
            }
        }
    
        /**
         * Complete a reconnection attempt
         * @param path the file path
         * @param success true if reconnection was successful
         */
        public void completeReconnect(String path, boolean success) {
            lock.writeLock().lock();
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. docs/smb3-features/02-persistent-handles-design.md

        }
    }
    
    // Handle network errors with automatic reconnection
    @Override
    protected void handleNetworkError(IOException e) {
        if (handleType != null && handleType != HandleType.NONE) {
            // Attempt automatic reconnection
            HandleReconnector reconnector = new HandleReconnector(handleManager);
            try {
                SmbFile reconnected = reconnector.reconnectHandle(this, e).get(5, TimeUnit.SECONDS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  3. docs/SMB3_IMPLEMENTATION_PLAN.md

    ├── DurableHandleV2Request.java      - Durable handle v2 with timeout
    └── HandleReconnector.java           - Automatic handle reconnection
    ```
    
    #### 2.2 Implementation Tasks
    - [ ] Implement persistent/durable handle contexts
    - [ ] Add handle GUID generation and tracking
    - [ ] Implement handle state serialization
    - [ ] Create reconnection logic with handle replay
    - [ ] Add timeout management for durable handles
    - [ ] Implement handle lease association
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

        }
    
        /**
         * Test that connect() calls connect() on the underlying connection.
         * @throws IOException
         */
        @Test
        void testConnect() throws Exception {
            // Act
            ntlmConnection.connect();
    
            // Assert
            verify(mockConnection).connect();
            // Connection should be established after connect
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

        protected boolean usePersistentHandles = false;
        /** Timeout for durable handles in milliseconds */
        protected long durableHandleTimeout = 120000; // 2 minutes
        /** Maximum number of retry attempts for handle reconnection */
        protected int handleReconnectRetries = 3;
        /** Directory to store persistent handle state */
        protected String handleStateDirectory;
    
        // Directory leasing configuration fields
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. docs/smb3-features/01-smb3-lease-design.md

        
        // Getters and increment methods
    }
    ```
    
    ## 12. Future Enhancements
    
    1. **Directory Leases**: Extend lease support for directories
    2. **Lease Key Persistence**: Save lease keys for reconnection
    3. **Parent-Child Relationships**: Implement hierarchical leases
    4. **Lease Sharing**: Support lease sharing across handles
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Configuration.java

         */
        long getDurableHandleTimeout();
    
        /**
         * Property {@code jcifs.smb.client.handleReconnectRetries}, defaults to 3
         *
         * @return maximum number of retry attempts for handle reconnection
         */
        int getHandleReconnectRetries();
    
        /**
         * Enable SMB3 Multi-Channel support
         *
         * Property {@code jcifs.smb.client.useMultiChannel} (boolean, default true)
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. docs/smb3-features/06-witness-protocol-design.md

        if (witnessClient != null) {
            witnessClient.close();
        }
        super.logoff();
    }
    ```
    
    ### 5.2 Tree Connection Integration
    ```java
    // In SmbTree.java
    public void connectWithWitnessSupport() throws IOException {
        // Perform normal tree connection
        super.connect();
        
        // Register for witness notifications for this share
        if (session.isWitnessEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

    import okhttp3.internal.tls.OkHostnameVerifier
    import okio.Buffer
    
    /**
     * A connection to a remote web server capable of carrying 1 or more concurrent streams.
     *
     * Connections are shared in a connection pool. Accesses to the connection's state must be guarded
     * by holding a lock on the connection.
     */
    class RealConnection internal constructor(
      val taskRunner: TaskRunner,
      val connectionPool: RealConnectionPool,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        pool: ConnectionPool,
        connection: RealConnection,
      ) {
        val client =
          OkHttpClient
            .Builder()
            .connectionPool(pool)
            .build()
        val call = client.newCall(Request(connection.route().address.url)) as RealCall
        call.enterNetworkInterceptorExchange(call.request(), true, factory.newChain(call))
        connection.withLock { call.acquireConnectionNoEvents(connection) }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
Back to top