Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 54 for urlconnection (0.06 seconds)

  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 {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
  2. docs/smb3-features/02-persistent-handles-design.md

            }
        }
        
        public void shutdown() {
            scheduler.shutdown();
            persistHandles();  // Final persist before shutdown
        }
    }
    ```
    
    ## 5. Handle Reconnection Logic
    
    ### 5.1 Automatic Reconnection Handler
    ```java
    package jcifs.internal.smb2.persistent;
    
    import java.util.concurrent.CompletableFuture;
    import java.util.concurrent.TimeUnit;
    
    public class HandleReconnector {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 31.6K bytes
    - Click Count (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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

    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.
     *
     * According to MS-SMB2, the GUID is a 16-byte structure with little-endian
     * byte ordering for the individual components.
     */
    public class HandleGuid implements Serializable {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

        /**
         * The full path to the file or directory associated with this handle
         */
        private final String path;
    
        /**
         * The create GUID used to uniquely identify this handle for reconnection
         */
        private final HandleGuid createGuid;
    
        /**
         * The 16-byte file ID returned by the server for this handle
         */
        private final byte[] fileId;
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

            protected boolean performReconnection(HandleInfo info) throws Exception {
                if (shouldSucceed) {
                    return true;
                } else {
                    throw new IOException("Simulated reconnection failure");
                }
            }
    
            public void testCreateReconnectionRequest(HandleInfo handle) {
                createReconnectionRequest(handle);
            }
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

         *            the security mode flags for the session
         * @param capabilities
         *            the client capabilities
         * @param previousSessionid
         *            the previous session ID for reconnection (or 0 for new session)
         * @param token
         *            the security token for authentication
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. cmd/mrf.go

    		break
    	}
    }
    
    var healSleeper = newDynamicSleeper(5, time.Second, false)
    
    // healRoutine listens to new disks reconnection events and
    // issues healing requests for queued objects belonging to the
    // corresponding erasure set
    func (m *mrfState) healRoutine(z *erasureServerPools) {
    	for {
    		select {
    		case <-GlobalContext.Done():
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. 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
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  10. internal/rest/client.go

    func NewClient(uu *url.URL, tr http.RoundTripper, auth func() string) *Client {
    	connected := int32(online)
    	urlStr := uu.String()
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		// Mark offline, with no reconnection attempts.
    		connected = int32(offline)
    		err = &url.Error{URL: urlStr, Err: err}
    	}
    	// The host's colon:port should be normalized. See Issue 14836.
    	u.Host = removeEmptyPort(u.Host)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
Back to Top