Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for cachePolicy (0.07 sec)

  1. src/main/java/jcifs/http/NtlmHttpFilter.java

            String name;
    
            Properties p = new Properties();
            /*
             * Set jcifs properties we know we want; soTimeout and cachePolicy to 30min.
             */
            p.setProperty("jcifs.smb.client.soTimeout", "1800000");
            p.setProperty("jcifs.netbios.cachePolicy", "1200");
            /*
             * The Filter can only work with NTLMv1 as it uses a man-in-the-middle
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

            String name;
            int level;
    
            /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 30min.
             */
            Config.setProperty( "jcifs.smb1.smb.client.soTimeout", "1800000" );
            Config.setProperty( "jcifs.smb1.netbios.cachePolicy", "1200" );
            /* The Filter can only work with NTLMv1 as it uses a man-in-the-middle
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

        private static final String USERNAME =
                    Config.getProperty("jcifs.smb1.smb.client.username", null);
        private static final int CACHE_POLICY =
                    Config.getInt( "jcifs.smb1.netbios.cachePolicy", 60 * 10 ) * 60; /* 10 hours */
    
        static NbtAddress[] dc_list = null;
        static long dc_list_expiration;
        static int dc_list_counter;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Configuration.java

         * 
         * @return maximum number of retries for netbios requests
         */
        int getNetbiosRetryCount ();
    
    
        /**
         * 
         * 
         * Property <tt>jcifs.netbios.cachePolicy</tt> in minutes (int, default 600)
         * 
         * @return netbios cache timeout, in seconds, 0 - disable caching, -1 - cache forever
         */
        int getNetbiosCachePolicy ();
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtAddress.java

        }
    
        static void cacheAddress( Name hostName, NbtAddress addr ) {
            if( CACHE_POLICY == 0 ) {
                return;
            }
            long expiration = -1;
            if( CACHE_POLICY != FOREVER ) {
                expiration = System.currentTimeMillis() + CACHE_POLICY * 1000;
            }
            cacheAddress( hostName, addr, expiration );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
Back to top