Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getHandleForReconnect (0.97 sec)

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

        }
    
        /**
         * Get handle information for reconnection
         * @param path the file path
         * @return the handle info if available and not expired, null otherwise
         */
        public HandleInfo getHandleForReconnect(String path) {
            lock.readLock().lock();
            try {
                HandleInfo info = handles.get(path);
                if (info != null && !info.isExpired()) {
                    info.setReconnecting(true);
    Registered: Sat Dec 20 13:44:44 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

                if (info.type == HandleType.PERSISTENT) {
                    persistHandle(info);
                }
            }
        }
        
        public HandleInfo getHandleForReconnect(String path) {
            HandleInfo info = handles.get(path);
            if (info != null && !info.isExpired()) {
                info.reconnecting = true;
                return info;
            }
            return null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

         * @return a future that completes with the reconnected handle info or fails
         */
        public CompletableFuture<HandleInfo> reconnectHandle(String path, Exception cause) {
            HandleInfo info = handleManager.getHandleForReconnect(path);
    
            if (info == null) {
                return CompletableFuture.failedFuture(new IOException("No durable handle available for reconnection: " + path));
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
Back to top