Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for subtree (0.06 sec)

  1. src/main/java/jcifs/FileNotifyInformation.java

        // filter flags
    
        /**
         * Any file name change in the watched directory or subtree causes a change notification wait operation to return.
         * Changes include renaming, creating, or deleting a file.
         */
        int FILE_NOTIFY_CHANGE_FILE_NAME = 0x00000001;
    
        /**
         * Any directory-name change in the watched directory or subtree causes a change notification wait operation to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheScope.java

     */
    public enum DirectoryCacheScope {
        /**
         * Cache only direct children of the directory
         */
        IMMEDIATE_CHILDREN,
    
        /**
         * Cache entire subtree recursively (if supported by server)
         */
        RECURSIVE_TREE,
    
        /**
         * Cache only file attributes but not content
         */
        METADATA_ONLY,
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. docs/smb3-features/04-directory-leasing-design.md

    }
    ```
    
    ### 3.2 Directory Cache Scopes
    ```java
    public enum DirectoryCacheScope {
        IMMEDIATE_CHILDREN,    // Only direct children
        RECURSIVE_TREE,        // Entire subtree (if supported)
        METADATA_ONLY,         // File attributes but not content
        FULL_ENUMERATION      // Complete directory listing
    }
    ```
    
    ## 4. Data Structures
    
    ### 4.1 Directory Lease Context
    ```java
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

        /**
         * Whether to use directory leasing for cached directory listings
         */
        protected boolean useDirectoryLeasing = true;
        /**
         * The scope of directory caching: ALL (entire subtree) or IMMEDIATE_CHILDREN (direct children only)
         */
        protected String directoryCacheScope = "IMMEDIATE_CHILDREN";
        /**
         * Directory cache timeout in milliseconds
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbTree.java

     *
     * @author mbechler
     *
     */
    public interface SmbTree extends AutoCloseable {
    
        /**
         * Unwraps the tree instance to the specified type
         * @param <T> the target tree type
         * @param type the class of the tree type to unwrap to
         * @return tree instance with the given type
         */
        <T extends SmbTree> T unwrap(Class<T> type);
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTree.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.util.LogStream;
    
    class SmbTree {
    
        private static int tree_conn_counter;
    
        /* 0 - not connected
         * 1 - connecting
         * 2 - connected
         * 3 - disconnecting
         */
        int connectionState;
        int tid;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbTreeTest.java

            verify(smbTree).unwrap(CustomSmbTree.class);
        }
    
        /**
         * Test for unwrap() method with the same type.
         * Verifies that unwrap can return itself when the type matches.
         */
        @Test
        void testUnwrap_withSameType() {
            when(smbTree.unwrap(SmbTree.class)).thenReturn(smbTree);
    
            SmbTree result = smbTree.unwrap(SmbTree.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

        }
    
        @Test
        void testEquals() {
            SmbTree tree1 = new SmbTree(session, "testShare", "testService");
            SmbTree tree2 = new SmbTree(session, "testShare", "testService");
            SmbTree tree3 = new SmbTree(session, "otherShare", "testService");
            SmbTree tree4 = new SmbTree(session, "testShare", "otherService");
    
            // Test equal trees (same share and service)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeInternalTest.java

            verify(tree).send(request, param);
        }
    
        @Test
        @DisplayName("unwrap and close are available via SmbTree")
        void unwrap_and_close_interactions() {
            // Arrange
            when(tree.unwrap(SmbTreeInternal.class)).thenReturn(tree);
    
            // Act
            SmbTree unwrapped = tree.unwrap(SmbTreeInternal.class);
            tree.close();
    
            // Assert
            assertNotNull(unwrapped);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionInternalTest.java

    import org.mockito.ArgumentCaptor;
    import org.mockito.Mock;
    import org.mockito.Mockito;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.SmbTransport;
    import jcifs.SmbTree;
    
    /**
     * Tests for SmbSessionInternal interface using Mockito to exercise
     * method contracts, checked exceptions, and interactions with collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top