Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for subtree (0.57 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            smbSession.transport = smbTransport;
    
            // Mock the tree layer
            smbTree = mock(SmbTree.class);
            smbTree.session = smbSession;
            smbTree.tree_num = 1;
    
            // Mock the SmbFile
            smbFile = mock(SmbFile.class);
            smbFile.tree = smbTree;
            smbFile.fid = 1;
            smbFile.tree_num = 1;
    
            when(smbFile.isFile()).thenReturn(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeInternal.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.smb;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SmbTree;
    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.Request;
    
    /**
     * Internal SMB tree connection interface providing extended tree management capabilities.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top