Searched refs:cache (Results 1 - 5 of 5) sorted by relevance

/opengrok-jel/test/org/opensolaris/opengrok/history/
H A DJDBCHistoryCacheTest.java58 private JDBCHistoryCache cache; field in class:JDBCHistoryCacheTest
169 * Set up the test environment with repositories and a cache instance.
175 cache = new JDBCHistoryCache(
177 cache.initialize();
188 cache = null;
271 cache.store(historyToStore, repos);
272 cache.optimize();
279 History retrievedHistory = cache.get(makefile, repos, true, null);
280 History retrievedHistory2 = cache.get(makefile, repos, true, Boolean.FALSE);
283 retrievedHistory2 = cache
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DFileHistoryCache.java83 * Get a <code>File</code> object describing the cache file.
85 * @param file the file to find the cache for
133 File cache = getCachedFile(file);
135 File dir = cache.getParentFile();
138 "Unable to create cache directory '" + dir + "'");
141 // We have a problem that multiple threads may access the cache layer
143 // serialize the write access to the cache file. The generation of the
144 // cache file would most likely be executed during index generation, and
170 if (!cache.delete() && cache
[all...]
H A DHistoryGuru.java59 /** The history cache to use */
71 HistoryCache cache = null;
76 cache = new JDBCHistoryCache();
78 cache = new FileHistoryCache();
81 cache.initialize();
83 logger.warning("Failed to initialize the history cache: "
86 // Failed to initialize, run without a history cache
87 cache = null;
90 historyCache = cache;
102 * Check whether a cache shoul
[all...]
H A DRepository.java200 * Create a history log cache for all of the files in this repository.
205 * @param cache the cache instance in which to store the history log
206 * @param sinceRevision if non-null, incrementally update the cache with
212 final void createCache(HistoryCache cache, String sinceRevision) argument
219 // If we don't have a directory parser, we can't create the cache
223 + "history cache for '" + getDirectoryName() + "', since "
241 // (bug #14724) so we'll try to regenerate the cache from
244 "recreate the history cache from scratch (" + he.getMessage() + ")");
254 // Got full history successfully. Clear the history cache s
[all...]
/opengrok-jel/lib/
H A Dbcel-5.2.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...

Completed in 17 milliseconds