Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for ttl (0.01 sec)

  1. src/main/java/jcifs/smb1/smb1/Dfs.java

    import java.io.*;
    
    public class Dfs {
    
        static class CacheEntry {
            long expiration;
            HashMap map;
    
            CacheEntry(long ttl) {
                if (ttl == 0)
                    ttl = Dfs.TTL;
                expiration = System.currentTimeMillis() + ttl * 1000L;
                map = new HashMap();
            }
        }
    
        static LogStream log = LogStream.getInstance();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                    + ",path=" + this.path + ",ttl=" + this.ttl + ",expiration=" + this.expiration + ",remain="
                    + ( this.expiration - System.currentTimeMillis() ) + "]";
        }
    
    
        /**
         * @return the ttl
         */
        public long getTtl () {
            return this.ttl;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServicePacket.java

                        + ",recordType=" + recordTypeString + ",recordClass="
                        + ( this.recordClass == IN ? "IN" : "0x" + Hexdump.toHexString(this.recordClass, 4) ) + ",ttl=" + this.ttl + ",rDataLength="
                        + this.rDataLength);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

                    ",recordType=" + recordTypeString +
                    ",recordClass=" + ( recordClass == IN ? "IN" :
                                "0x" + Hexdump.toHexString( recordClass, 4 )) +
                    ",ttl=" + ttl +
                    ",rDataLength=" + rDataLength );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            long expiration = System.currentTimeMillis() + Dfs.TTL * 1000;
    
            int di = 0;
            for ( ;; ) {
                            /* NTLM HTTP Authentication must be re-negotiated
                             * with challenge from 'server' to access DFS vol. */
                dr.resolveHashes = auth.hashesExternal;
                dr.ttl = resp.referrals[di].ttl;
                dr.expiration = expiration;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DfsImpl.java

    
            CacheEntry ( long ttl ) {
                this.expiration = System.currentTimeMillis() + ttl * 1000L;
                this.map = new ConcurrentHashMap<>();
            }
        }
    
        private static class NegativeCacheEntry <T> extends CacheEntry<T> {
    
            /**
             * @param ttl
             */
            NegativeCacheEntry ( long ttl ) {
                super(ttl);
            }
    
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  7. cmd/common-main.go

    }
    
    func runDNSCache(ctx *cli.Context) {
    	dnsTTL := ctx.Duration("dns-cache-ttl")
    	// Check if we have configured a custom DNS cache TTL.
    	if dnsTTL <= 0 {
    		if orchestrated {
    			dnsTTL = 30 * time.Second
    		} else {
    			dnsTTL = 10 * time.Minute
    		}
    	}
    
    	// Call to refresh will refresh names in cache.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  8. cmd/server-main.go

    	cli.StringFlag{
    		Name:   "interface",
    		Usage:  "bind to right VRF device for MinIO services",
    		Hidden: true,
    		EnvVar: "MINIO_INTERFACE",
    	},
    	cli.DurationFlag{
    		Name:   "dns-cache-ttl",
    		Usage:  "custom DNS cache TTL",
    		Hidden: true,
    		Value: func() time.Duration {
    			if orchestrated {
    				return 30 * time.Second
    			}
    			return 10 * time.Minute
    		}(),
    		EnvVar: "MINIO_DNS_CACHE_TTL",
    	},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  9. src/main/java/jcifs/Configuration.java

     */
    public interface Configuration {
    
        /**
         * 
         * @return random source to use
         */
        SecureRandom getRandom ();
    
    
        /**
         * 
         * 
         * Property <tt>jcifs.smb.client.dfs.ttl</tt> (int, default 300)
         * 
         * @return title to live, in seconds, for DFS cache entries
         */
        long getDfsTtl ();
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 18K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

    public class AzureAdAuthenticator implements SsoAuthenticator {
    
        private static final Logger logger = LogManager.getLogger(AzureAdAuthenticator.class);
    
        protected static final String AZUREAD_STATE_TTL = "aad.state.ttl";
    
        protected static final String AZUREAD_AUTHORITY = "aad.authority";
    
        protected static final String AZUREAD_TENANT = "aad.tenant";
    
        protected static final String AZUREAD_CLIENT_SECRET = "aad.client.secret";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top