Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 28 for Smb2LeaseKey (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.create;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Lease V1 Create Context Response
     *
     * MS-SMB2 2.2.14.2.10
     */
    public class LeaseV1CreateContextResponse implements CreateContextResponse {
    
        /**
    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)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            // Request leases for both directories
            Smb2LeaseKey key1 = directoryLeaseManager.requestDirectoryLease(dir1, DirectoryLeaseState.DIRECTORY_READ_HANDLE,
                    DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            Smb2LeaseKey key2 =
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Lease Break Response
     *
     * MS-SMB2 2.2.25
     */
    public class Smb2LeaseBreakResponse extends ServerMessageBlock2Response {
    
        private int structureSize;
        private int flags;
        private Smb2LeaseKey leaseKey;
        private int leaseState;
        private long leaseDuration;
    
    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)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Lease Break Acknowledgment
     *
     * MS-SMB2 2.2.24
     */
    public class Smb2LeaseBreakAcknowledgment extends ServerMessageBlock2Request<Smb2LeaseBreakResponse> {
    
        private static final int STRUCTURE_SIZE = 36;
    
        private int flags;
        private Smb2LeaseKey leaseKey;
        private int leaseState;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    import jcifs.internal.smb2.lease.Smb2LeaseState;
    import jcifs.internal.util.SMBUtil;
    
    @DisplayName("LeaseV1CreateContextRequest Tests")
    class LeaseV1CreateContextRequestTest {
    
        private LeaseV1CreateContextRequest leaseContext;
        private Smb2LeaseKey testKey;
        private int testState;
    
        @BeforeEach
        void setUp() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. docs/smb3-features/04-directory-leasing-design.md

        }
        
        public Smb2LeaseKey requestDirectoryLease(String directoryPath, 
                                                 int requestedState, 
                                                 DirectoryCacheScope scope) {
            // Request base lease
            Smb2LeaseKey leaseKey = baseLeaseManager.requestLease(directoryPath, requestedState);
            
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

    /**
     * Cache entry for directory contents with thread-safe operations
     */
    public class DirectoryCacheEntry {
    
        private final String directoryPath;
        private final Smb2LeaseKey leaseKey;
        private final long createTime;
        private volatile long lastUpdateTime;
        private volatile long lastAccessTime;
    
        private final ConcurrentHashMap<String, FileInfo> children;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        /**
         * Change notification handle
         */
        public static class ChangeNotificationHandle {
            private final String directoryPath;
            private final Smb2LeaseKey leaseKey;
            private final SmbFile directoryFile;
            private volatile boolean active;
            private CompletableFuture<Void> notificationFuture;
    
            /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

     * Lesser General Public License for more details.
     */
    package jcifs.internal.smb2.persistent;
    
    import java.io.Serializable;
    import java.util.Arrays;
    
    import jcifs.internal.smb2.lease.Smb2LeaseKey;
    
    /**
     * Information about a durable or persistent SMB handle.
     * This class holds all the necessary information to reconnect
     * a handle after network failures or server reboots.
     */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

    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.
     *
     * This utility class provides static methods that enhance SmbFile operations with
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top