Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for handleLeaseBreakWithTimeout (0.17 seconds)

  1. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

        /**
         * Handle a lease break with default timeout
         *
         * @param key lease key
         * @param newState new lease state
         */
        public void handleLeaseBreakWithTimeout(Smb2LeaseKey key, int newState) {
            handleLeaseBreakWithTimeout(key, newState, DEFAULT_LEASE_BREAK_TIMEOUT);
        }
    
        /**
         * Release a lease
         *
         * @param key lease key
         */
    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)
  2. docs/smb3-features/01-smb3-lease-design.md

    - Implement lease key reuse for related files
    - Optimize lease break acknowledgment timing
    
    ## 10. Error Handling
    
    ### 10.1 Lease Break Timeout
    ```java
    public void handleLeaseBreakWithTimeout(Smb2LeaseKey key, int newState) {
        CompletableFuture<Void> future = CompletableFuture.runAsync(() -> {
            handleLeaseBreak(key, newState);
        });
        
        try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 22K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

            Smb2LeaseKey key = leaseManager.requestLease(path, initialState);
            leaseManager.updateLease(key, initialState);
    
            leaseManager.handleLeaseBreakWithTimeout(key, newState, 1);
    
            LeaseEntry entry = leaseManager.getLease(key);
            if (entry != null) {
                // If entry still exists, it should have the new state
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top