- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for LeaseKey (0.07 sec)
-
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
* @param fileId the 16-byte file ID * @param type the handle type * @param timeout the timeout in milliseconds * @param leaseKey the associated lease key (can be null) */ public HandleInfo(String path, HandleGuid guid, byte[] fileId, HandleType type, long timeout, Smb2LeaseKey leaseKey) { this.path = path; this.createGuid = guid; this.fileId = Arrays.copyOf(fileId, 16); this.type = type;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
// Request base lease Smb2LeaseKey leaseKey = baseLeaseManager.requestLease(directoryPath, requestedState); // Create directory cache entry DirectoryCacheEntry cacheEntry = new DirectoryCacheEntry(directoryPath, leaseKey, scope); directoryCache.put(directoryPath, cacheEntry); leaseToPath.put(leaseKey, directoryPath);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
private volatile long lastAccessTime; private final Smb2LeaseKey leaseKey; // Associated lease if any private volatile boolean reconnecting; private transient SmbFile file; // Not serialized public HandleInfo(String path, HandleGuid guid, byte[] fileId, HandleType type, long timeout, Smb2LeaseKey leaseKey) { this.path = path; this.createGuid = guid;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
/** * Context name for lease response */ public static final String CONTEXT_NAME = "RqLs"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private Smb2LeaseKey leaseKey; private int leaseState; private int leaseFlags; /** * Create a new lease V1 context response */ public LeaseV1CreateContextResponse() { } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
} /** * Start watching a directory for changes * * @param directoryPath directory path * @param leaseKey lease key */ public void startWatching(String directoryPath, Smb2LeaseKey leaseKey) { if (activeWatchers.containsKey(directoryPath)) { return; // Already watching } try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java
/** * Context name for lease V2 response */ public static final String CONTEXT_NAME = "RqL2"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private Smb2LeaseKey leaseKey; private int leaseState; private int leaseFlags; private Smb2LeaseKey parentLeaseKey; private int epoch; /** * Create a new lease V2 context response */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
/** * Cache entry for directory contents with thread-safe operations */ public class DirectoryCacheEntry { private final String directoryPath; private final Smb2LeaseKey leaseKey; private final long createTime; private volatile long lastUpdateTime; private volatile long lastAccessTime; private final ConcurrentHashMap<String, FileInfo> children;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
} } /** * Add a lease V1 context to this request * @param leaseKey the lease key * @param requestedState the requested lease state */ public void addLeaseV1Context(Smb2LeaseKey leaseKey, int requestedState) { LeaseV1CreateContextRequest leaseContext = new LeaseV1CreateContextRequest(leaseKey, requestedState); addCreateContext(leaseContext);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
* @param path the file path * @param type the handle type * @param timeout the timeout in milliseconds * @param leaseKey the associated lease key (can be null) * @return the handle GUID */ public HandleGuid requestDurableHandle(String path, HandleType type, long timeout, Smb2LeaseKey leaseKey) { HandleGuid guid = new HandleGuid();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
Smb2LeaseKey leaseKey = dirManager.requestDirectoryLease(directoryPath, Smb2LeaseState.SMB2_LEASE_READ_CACHING | Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING, scope); // Perform actual directory enumeration SmbFile[] files = smbFile.listFiles(); // Update cache if we have a directory lease if (leaseKey != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 7.1K bytes - Viewed (0)