- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 156 for lease (0.02 sec)
-
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java
} /** * Gets the current lease state before the break * @return the current lease state */ public int getCurrentLeaseState() { return currentLeaseState; } /** * Gets the new lease state after the break * @return the new lease state */ public int getNewLeaseState() { return newLeaseState; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.8K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
/** * Gets the lease state granted by the server * @return the granted lease state */ public int getLeaseState() { return leaseState; } /** * Gets the lease flags from the server response * @return the lease flags */ public int getLeaseFlags() { return leaseFlags; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Smb2LeaseKey key2 = leaseManager.requestLease(path2, Smb2LeaseState.SMB2_LEASE_WRITE_CACHING); // Clean up leases older than 5ms int cleaned = leaseManager.cleanupExpiredLeases(5); // At least the first lease should be cleaned assertTrue(cleaned >= 1); // Check if old lease was removed LeaseEntry entry1 = leaseManager.getLease(key1); if (cleaned == 2) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
} /** * Gets the granted lease state from the break response * @return the lease state */ public int getLeaseState() { return leaseState; } /** * Gets the lease flags from the break response * @return the lease flags */ public int getLeaseFlags() { return flags; } /** * Gets the lease duration from the break responseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
return CONTEXT_NAME_BYTES; } /** * Gets the lease key for this V2 lease request * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Sets the lease key for this V2 lease request * @param leaseKey the lease key to set */ public void setLeaseKey(Smb2LeaseKey leaseKey) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java
/** * Gets the lease state granted by the server for V2 * @return the granted lease state */ public int getLeaseState() { return leaseState; } /** * Gets the lease flags from the V2 server response * @return the lease flags */ public int getLeaseFlags() { return leaseFlags; } /** * Gets the parent lease key from the V2 responseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java
*/ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Gets the lease state being acknowledged * @return the lease state */ public int getLeaseState() { return leaseState; } /** * Gets the lease flags for this acknowledgment * @return the lease flags */ public int getLeaseFlags() { return flags; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java
*/ package jcifs.internal.smb2.lease; /** * SMB2 Lease State constants * * MS-SMB2 2.2.13.2.8 */ public class Smb2LeaseState { /** * No lease caching */ public static final int SMB2_LEASE_NONE = 0x00; /** * Read caching lease (R) */ public static final int SMB2_LEASE_READ_CACHING = 0x01; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 2.4K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0)