Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for handleLeaseBreakWithTimeout (0.35 sec)

  1. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. 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
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. 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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top