- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 117 for lease (0.01 sec)
-
docs/smb3-features/01-smb3-lease-design.md
} ``` ## 12. Future Enhancements 1. **Directory Leases**: Extend lease support for directories 2. **Lease Key Persistence**: Save lease keys for reconnection 3. **Parent-Child Relationships**: Implement hierarchical leases 4. **Lease Sharing**: Support lease sharing across handles
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
return CONTEXT_NAME_BYTES; } /** * Gets the lease key for this directory lease context * @return the lease key */ public Smb2LeaseKey getLeaseKey() { return leaseKey; } /** * Sets the lease key for this directory lease context * @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 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
scheduler.scheduleAtFixedRate(this::cleanupExpiredEntries, 60, 60, TimeUnit.SECONDS); } /** * Request a directory lease * * @param directoryPath directory path * @param requestedState requested lease state * @param scope cache scope * @return lease key */ public Smb2LeaseKey requestDirectoryLease(String directoryPath, int requestedState, DirectoryCacheScope scope) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java
throw new IllegalArgumentException("Lease key cannot be null"); } if (key.length != LEASE_KEY_SIZE) { throw new IllegalArgumentException("Lease key must be 16 bytes, got " + key.length); } this.key = Arrays.copyOf(key, LEASE_KEY_SIZE); } /** * Get the lease key bytes * * @return copy of the 16-byte lease key */ public byte[] getKey() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
LeaseEntry lease = entry.getValue(); log.info("Evicting lease for path: {} due to max lease limit", lease.getPath()); // Flush any cached data before eviction if (lease.hasWriteCache()) { flushCachedWrites(lease.getPath()); } if (lease.hasReadCache()) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
├── Smb2LeaseState.java - Lease state flags (R, H, W) └── LeaseManager.java - Central lease management ``` #### 1.2 Implementation Tasks - [ ] Define lease state constants (SMB2_LEASE_READ, SMB2_LEASE_HANDLE, SMB2_LEASE_WRITE) - [ ] Implement lease key generation and management - [ ] Add lease context to Create request/response - [ ] Implement lease break notification handling
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.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/LeaseV1CreateContextRequest.java
public byte[] getName() { return CONTEXT_NAME_BYTES; } /** * Gets the lease key for this lease request * @return the lease key */ 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) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.lease; /** * Defines directory lease state constants for SMB2/SMB3 directory leasing. * * This class provides constants and utility methods for managing directory lease states * in SMB2/SMB3 protocol implementations. Directory leases enable clients to cache * directory metadata and reduce network round-trips for directory operations. */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 2.5K 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)