- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 897 for lease (0.09 sec)
-
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
import java.util.List; import org.slf4j.Logger; 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. *
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/create/Smb2CreateRequest.java
setRequestedOplockLevel(SMB2_OPLOCK_LEVEL_LEASE); } /** * Add a lease V2 context to this request * @param leaseKey the lease key * @param requestedState the requested lease state * @param parentLeaseKey the parent lease key (can be null) * @param epoch the lease epoch */
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/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
entry.markComplete(); // Break lease with loss of read cache int newState = Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING; // Lost read cache directoryLeaseManager.handleDirectoryLeaseBreak(leaseKey, newState); // Cache should be invalidated assertFalse(entry.isComplete()); // Verify base lease manager was called
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
*/ private final long createTime; /** * The timestamp of the last access to this handle */ private volatile long lastAccessTime; /** * The associated lease key if this handle has an SMB2 lease */ private final Smb2LeaseKey leaseKey; /** * Flag indicating whether this handle is currently being reconnected */ private volatile boolean reconnecting;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
// Cache should be invalidated assertFalse(cacheEntry.isComplete()); // Step 9: Test lease break // Re-populate cache directoryLeaseManager.updateDirectoryCache(directoryPath, files); assertTrue(cacheEntry.isComplete()); // Simulate lease break with loss of read cache directoryLeaseManager.handleDirectoryLeaseBreak(leaseKey, Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
cmd/etcd.go
timeoutCtx, cancel := context.WithTimeout(ctx, defaultContextTimeout) defer cancel() lease, err := client.Grant(timeoutCtx, ttl) if err != nil { return etcdErrToErr(err, client.Endpoints()) } _, err = client.Put(timeoutCtx, key, string(data), etcd.WithLease(lease.ID)) etcdLogIf(ctx, err) return etcdErrToErr(err, client.Endpoints()) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
@Test @DisplayName("Should generate random lease key with correct size") void testRandomLeaseKeyGeneration() { Smb2LeaseKey key = new Smb2LeaseKey(); assertNotNull(key.getKey()); assertEquals(16, key.getKey().length); assertFalse(key.isZero()); } @Test @DisplayName("Should create lease key from byte array") void testLeaseKeyFromBytes() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
* @return the directory path */ public String getDirectoryPath() { return directoryPath; } /** * Gets the lease key associated with this directory cache * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Checks if the complete directory enumeration has been cached
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/DirectoryChangeNotifier.java
* @return the directory path */ public String getDirectoryPath() { return directoryPath; } /** * Gets the lease key associated with this notification handle * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /**
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/Smb2LeaseStateTest.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.lease; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.2K bytes - Viewed (0)