Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for cache (0.18 sec)

  1. src/main/java/jcifs/DfsResolver.java

         */
        DfsReferralData resolve ( CIFSContext tf, String domain, String root, String path ) throws CIFSException;
    
    
        /**
         * Add a referral to the cache
         * 
         * @param path
         * @param dr
         * @param tc
         */
        void cache ( CIFSContext tc, String path, DfsReferralData dr );
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

    
        /**
         * @return cache key
         */
        String getKey ();
    
    
        /**
         * 
         * @param key
         *            cache key
         */
        void setKey ( String key );
    
    
        /**
         * @param map
         */
        void setCacheMap ( Map<String, DfsReferralDataInternal> map );
    
    
        /**
         * Replaces the entry with key in the cache map with this referral
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

                    sid_cache.put(sids[si], sids[si]);
                }
            }
    }
        }
        /**
         * Resolve an array of SIDs using a cache and at most one MSRPC request.
         * <p>
         * This method will attempt
         * to resolve SIDs using a cache and cache the results of any SIDs that
         * required resolving with the authority. SID cache entries are currently not
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

                log.trace("Have DC referral " + dr);
            }
    
            if ( dr != null && domain.equals(dr.getServer()) && root.equals(dr.getShare()) ) {
                // If we do cache these we never get to the properly cached
                // standalone referral we might have.
                log.warn("Dropping self-referential referral " + dr);
                dr = null;
            }
            return dr;
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Configuration.java

        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 ();
    
    
        /**
         * 
         * @return the maximum size of IO buffers, limits the maximum message size
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  6. src/main/java/jcifs/FileNotifyInformation.java

         * The operating system detects a change in file size only when the file is written to the disk. For operating
         * systems that use extensive caching, detection occurs only when the cache is sufficiently flushed.s
         */
        public static final int FILE_NOTIFY_CHANGE_SIZE = 0x00000008;
    
        /**
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/BufferCache.java

        static Object[] cache = new Object[MAX_BUFFERS];
        private static int freeBuffers = 0;
    
        static public byte[] getBuffer() {
            synchronized( cache ) {
                byte[] buf;
    
                if (freeBuffers > 0) {
                    for (int i = 0; i < MAX_BUFFERS; i++) {
                        if( cache[i] != null ) {
                            buf = (byte[])cache[i];
                            cache[i] = null;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type2Message.java

        private static final Map<String, byte[]> TARGET_INFO_CACHE = new HashMap<>();
    
    
        private static byte[] getDefaultTargetInfo ( CIFSContext tc ) {
            String domain = tc.getConfig().getDefaultDomain();
            byte[] ti = TARGET_INFO_CACHE.get(domain);
            if ( ti != null ) {
                return ti;
            }
    
            ti = makeTargetInfo(tc, domain);
            TARGET_INFO_CACHE.put(domain, ti);
            return ti;
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/BufferCacheImpl.java

            Arrays.fill(buf, (byte) 0);
            synchronized ( this.cache ) {
                if ( this.freeBuffers < this.cache.length ) {
                    for ( int i = 0; i < this.cache.length; i++ ) {
                        if ( this.cache[ i ] == null ) {
                            this.cache[ i ] = buf;
                            this.freeBuffers++;
                            return;
                        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jan 24 11:40:34 GMT 2021
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SidResolver.java

     * @internal
     */
    public interface SidResolver {
    
        /**
         * Resolve an array of SIDs using a cache and at most one MSRPC request.
         * <p>
         * This method will attempt
         * to resolve SIDs using a cache and cache the results of any SIDs that
         * required resolving with the authority. SID cache entries are currently not
         * expired because under normal circumstances SID information never changes.
         * 
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
Back to top