Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for getLeaseKey (0.09 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertEquals(context.getNotificationFilter(), decodedContext.getNotificationFilter());
            assertArrayEquals(context.getLeaseKey().getKey(), decodedContext.getLeaseKey().getKey());
        }
    
        @Test
        public void testConcurrentAccess() throws Exception {
            String directoryPath = "/test/concurrent";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

        public Smb2LeaseBreakNotification(Configuration config) {
            super(config);
        }
    
        /**
         * Gets the lease key that is being broken
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Gets the current lease state before the break
         * @return the current lease state
         */
        public int getCurrentLeaseState() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java

        @Override
        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)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

        public Smb2LeaseBreakResponse(Configuration config) {
            super(config);
        }
    
        /**
         * Gets the lease key from the break response
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Gets the granted lease state from the break response
         * @return the lease state
         */
        public int getLeaseState() {
            return leaseState;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

        public long getLastAccessTime() {
            return lastAccessTime;
        }
    
        /**
         * Get the associated lease key
         * @return the lease key (can be null)
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Check if this handle is currently reconnecting
         * @return true if reconnecting
         */
        public boolean isReconnecting() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

        @Override
        public byte[] getName() {
            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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

        }
    
        @Test
        public void testConstructor() {
            assertEquals(directoryPath, entry.getDirectoryPath());
            assertEquals(leaseKey, entry.getLeaseKey());
            assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, entry.getScope());
            assertFalse(entry.isComplete());
            assertFalse(entry.hasChanges());
            assertTrue(entry.getChildren().isEmpty());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

        public byte[] getName() {
            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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            return directoryPath;
        }
    
        /**
         * Gets the lease key associated with this directory cache
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
            return leaseKey;
        }
    
        /**
         * Checks if the complete directory enumeration has been cached
         * @return true if full enumeration is cached
         */
        public boolean isComplete() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. docs/smb3-features/01-smb3-lease-design.md

            
            // Handle the lease break
            leaseManager.handleLeaseBreak(
                breakNotif.getLeaseKey(),
                breakNotif.getNewLeaseState()
            );
            
            // Send acknowledgment
            Smb2LeaseBreakAcknowledgment ack = new Smb2LeaseBreakAcknowledgment(
                breakNotif.getLeaseKey(),
                breakNotif.getNewLeaseState()
            );
            
    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