- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 32 for Smb2LeaseKey (0.07 sec)
-
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/lease/DirectoryLeaseManager.java
private final CIFSContext context; private final LeaseManager baseLeaseManager; private final ConcurrentHashMap<String, DirectoryCacheEntry> directoryCache; private final ConcurrentHashMap<Smb2LeaseKey, String> leaseToPath; private final ScheduledExecutorService scheduler; private final DirectoryChangeNotifier changeNotifier; /** * Create a new directory lease manager *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
import org.slf4j.LoggerFactory; import jcifs.CIFSException; import jcifs.internal.smb2.lease.DirectoryCacheScope; import jcifs.internal.smb2.lease.DirectoryLeaseManager; import jcifs.internal.smb2.lease.Smb2LeaseKey; import jcifs.internal.smb2.lease.Smb2LeaseState; /** * Extension methods for SmbFile to support directory leasing functionality. * * This utility class provides static methods that enhance SmbFile operations with
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
/** * Change notification handle */ public static class ChangeNotificationHandle { private final String directoryPath; private final Smb2LeaseKey leaseKey; private final SmbFile directoryFile; private volatile boolean active; private CompletableFuture<Void> notificationFuture; /**
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/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java
/** * Unit tests for DirectoryCacheEntry */ public class DirectoryCacheEntryTest { private DirectoryCacheEntry entry; private Smb2LeaseKey leaseKey; private String directoryPath = "/test/dir"; @BeforeEach public void setUp() { leaseKey = new Smb2LeaseKey(); entry = new DirectoryCacheEntry(directoryPath, leaseKey, DirectoryCacheScope.IMMEDIATE_CHILDREN); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.CIFSContext; import jcifs.internal.smb2.lease.Smb2LeaseKey; import jcifs.internal.smb2.persistent.HandleGuid; import jcifs.internal.smb2.persistent.HandleInfo; import jcifs.internal.smb2.persistent.HandleType; import jcifs.internal.smb2.persistent.PersistentHandleManager; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
* @param requestedState the requested lease state * @param parentLeaseKey the parent lease key (can be null) * @param epoch the lease epoch */ public void addLeaseV2Context(Smb2LeaseKey leaseKey, int requestedState, Smb2LeaseKey parentLeaseKey, int epoch) { LeaseV2CreateContextRequest leaseContext = new LeaseV2CreateContextRequest(leaseKey, requestedState, parentLeaseKey, epoch); 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) -
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;
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/persistent/PersistentHandleManager.java
import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.ReentrantReadWriteLock; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSContext; import jcifs.internal.smb2.lease.Smb2LeaseKey; /** * Manager for persistent and durable SMB handles. * * This class provides: * - Handle lifecycle management * - Persistent storage for persistent handles * - Expiration tracking for durable handles
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/internal/smb2/create/Smb2CreateResponse.java
return hasDurableHandleResponse(); } /** * Get the lease key from the response * @return the lease key or null if no lease was granted */ public jcifs.internal.smb2.lease.Smb2LeaseKey getLeaseKey() { LeaseV2CreateContextResponse v2 = getLeaseV2Context(); if (v2 != null) { return v2.getLeaseKey(); } LeaseV1CreateContextResponse v1 = getLeaseV1Context();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 15.4K bytes - Viewed (0)