Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 371 for leas (0.02 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            SMBUtil.writeInt4(32, buffer, 12); // DataLength (standard lease only)
    
            // Write name
            System.arraycopy("DLse".getBytes(), 0, buffer, 16, 4);
    
            // Write lease key
            Smb2LeaseKey key = new Smb2LeaseKey();
            key.encode(buffer, 24);
    
            // Write lease state
            SMBUtil.writeInt4(DirectoryLeaseState.DIRECTORY_READ_HANDLE, buffer, 40);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. docs/debugging/pprofgoparser/main.go

    	"strconv"
    	"strings"
    	"time"
    )
    
    var (
    	goroutinesRE, searchRE *regexp.Regexp
    
    	// User input flags
    	searchText           string
    	goTime, less, margin time.Duration
    )
    
    func init() {
    	flag.DurationVar(&less, "less", 0, "goroutine waiting less than the specified time")
    	flag.DurationVar(&goTime, "time", 0, "goroutine waiting for exactly the specified time")
    	flag.DurationVar(&margin, "margin", 0, "margin time")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Mar 06 11:43:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

                    }
    
                    // Cleanup lease manager
                    if (leaseManager != null) {
                        try {
                            leaseManager.shutdown();
                            log.debug("Lease manager shutdown on session logoff");
                        } catch (Exception e) {
                            log.warn("Error shutting down lease manager during logoff", e);
                        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

        }
    
        /**
         * Gets the current lease state before the break
         * @return the current lease state
         */
        public int getCurrentLeaseState() {
            return currentLeaseState;
        }
    
        /**
         * Gets the new lease state after the break
         * @return the new lease state
         */
        public int getNewLeaseState() {
            return newLeaseState;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

    import java.util.List;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.internal.smb2.lease.DirectoryCacheScope;
    import jcifs.internal.smb2.lease.DirectoryLeaseManager;
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    import jcifs.internal.smb2.lease.Smb2LeaseState;
    
    /**
     * Extension methods for SmbFile to support directory leasing functionality.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top