Lines Matching refs:cache
36 * File-based cache implementation. Only one process should access the
50 * This cache creates one file per SSL session using "host.port" for
52 * in the cache (see {@link #putSessionData}). Files are read on
53 * cache hits, but not on cache misses.
81 * Constructs a new cache backed by the given directory.
94 // cache misses in getSessionData().
132 * Note: This method is only called when the in-memory cache
134 * rendundant for this cache to store data in memory.
196 // Used to keep track of whether or not we're expanding the cache.
208 // If we expanded the cache (by creating a new file)...
311 * Maps directories to the cache instances that are backed by those
312 * directories. We synchronize access using the cache instance, so it's
319 * Returns a cache backed by the given directory. Creates the directory
320 * (including parent directories) if necessary. This cache should have
324 * @return a cache backed by the given directory
330 FileClientSessionCache.Impl cache = caches.get(directory);
331 if (cache == null) {
332 cache = new FileClientSessionCache.Impl(directory);
333 caches.put(directory, cache);
335 return cache;