- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for setLeaseKey (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java
*/ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Sets the lease key for this lease request * @param leaseKey the lease key to set */ public void setLeaseKey(Smb2LeaseKey leaseKey) { this.leaseKey = leaseKey; } /** * Gets the requested lease state flags * @return the requested lease state */ public int getLeaseState() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
*/ 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) { this.leaseKey = leaseKey; } /** * Gets the requested lease state flags for V2 * @return the requested lease state */ public int getLeaseState() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 6.2K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
public static final int DIRECTORY_LEASE_FLAG_NOTIFICATIONS = 0x00000002; public DirectoryLeaseContext(Smb2LeaseKey key, int leaseState, DirectoryCacheScope scope) { super(); setLeaseKey(key); setLeaseState(leaseState); this.cacheScope = scope; this.maxCacheAge = 30000; // 30 seconds default this.notificationEnabled = true; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
(byte) 0xF8, (byte) 0xF7, (byte) 0xF6, (byte) 0xF5, (byte) 0xF4, (byte) 0xF3, (byte) 0xF2, (byte) 0xF1, (byte) 0xF0 }; Smb2LeaseKey newKey = new Smb2LeaseKey(newKeyBytes); leaseContext.setLeaseKey(newKey); assertEquals(newKey, leaseContext.getLeaseKey()); } @Test @DisplayName("Should set and get lease state") void testLeaseStateAccessors() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 5.8K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
```java // In Smb2CreateRequest.java public void addLeaseContext(Smb2LeaseKey key, int requestedState, boolean isV2) { Smb2LeaseContext leaseContext = new Smb2LeaseContext(); leaseContext.setLeaseKey(key); leaseContext.setLeaseState(requestedState); if (isV2) { leaseContext.setEpoch(1); // Set parent lease key if available } addCreateContext(leaseContext); } ```
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0)