- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for LeaseState (0.16 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java
* @return the requested lease state */ public int getLeaseState() { return leaseState; } /** * Sets the requested lease state flags * @param leaseState the lease state to set */ public void setLeaseState(int leaseState) { this.leaseState = leaseState; } /** * Gets the lease flags for this request * @return the lease flags */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/lease/DirectoryLeaseContext.java
* @return the lease state */ public int getLeaseState() { return leaseState; } /** * Sets the lease state flags for this directory * @param leaseState the lease state to set */ public void setLeaseState(int leaseState) { this.leaseState = leaseState; } /** * Gets the cache scope for directory enumeration cachingCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
byte[] keyBytes = new byte[16]; System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); bufferIndex += 16; // LeaseState (4 bytes) this.leaseState = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // LeaseDuration (8 bytes) this.leaseDuration = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 3.7K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
public boolean hasReadCache() { return (leaseState & Smb2LeaseState.SMB2_LEASE_READ_CACHING) != 0; } public boolean hasWriteCache() { return (leaseState & Smb2LeaseState.SMB2_LEASE_WRITE_CACHING) != 0; } public boolean hasHandleCache() { return (leaseState & Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING) != 0; } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
Smb2LeaseKey key = new Smb2LeaseKey(); int leaseState = DirectoryLeaseState.DIRECTORY_READ_HANDLE; DirectoryCacheScope scope = DirectoryCacheScope.IMMEDIATE_CHILDREN; DirectoryLeaseContext context = new DirectoryLeaseContext(key, leaseState, scope); assertEquals(key, context.getLeaseKey()); assertEquals(leaseState, context.getLeaseState());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
*/ 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 public byte[] getName() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
public boolean hasReadCache() { return Smb2LeaseState.hasReadCaching(leaseState); } /** * Check if lease has write caching * * @return true if write caching is enabled */ public boolean hasWriteCache() { return Smb2LeaseState.hasWriteCaching(leaseState); } /** * Check if lease has handle caching
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0)