Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for updateAccessTime (0.06 sec)

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

            lock.readLock().lock();
            try {
                HandleInfo info = handles.get(path);
                if (info != null && !info.isExpired()) {
                    info.setReconnecting(true);
                    info.updateAccessTime();
                    log.debug("Found handle for reconnect: {}", path);
                    return info;
                }
                return null;
            } finally {
                lock.readLock().unlock();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

            }
            long elapsed = System.currentTimeMillis() - lastAccessTime;
            return elapsed > timeout;
        }
    
        /**
         * Update the last access time
         */
        public void updateAccessTime() {
            this.lastAccessTime = System.currentTimeMillis();
        }
    
        /**
         * Get the file path
         * @return the path
         */
        public String getPath() {
            return path;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
            info.updateAccessTime();
    
            assertTrue(info.getLastAccessTime() > originalAccessTime);
        }
    
        @Test
        public void testUpdateFileId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. docs/smb3-features/02-persistent-handles-design.md

                }
                long elapsed = System.currentTimeMillis() - lastAccessTime;
                return elapsed > timeout;
            }
            
            public void updateAccessTime() {
                this.lastAccessTime = System.currentTimeMillis();
            }
        }
        
        public HandleGuid requestDurableHandle(String path, HandleType type, 
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top