- Timestamp:
- 08/25/11 20:21:23 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/Cache.java
r1234 r1495 38 38 /** 39 39 * This is a rudimentary caching mechanism. 40 * serializes the inputstream to a file (identifier => filename)41 * and returns the inpustream based on the identifier.40 * It serializes the inputstream to a file (identifier => filename) (putInCache()) 41 * or returns the inputstream based on the identifier (getFromCache()) 42 42 * 43 * It maintains the cache_index (persisted as xml-file in the cache-folder)44 * mapping the request parameters to the indexed files. 43 * <p>It maintains the cache_index (persisted as xml-file in the cache-folder) 44 * mapping the request parameters to the indexed files.</p> 45 45 * 46 46 * This is an internal object, direct user access to cache-data via interface is only possible via <code>AdminAction</code> … … 48 48 * 49 49 */ 50 /* TODO: necessary to maintain own index51 * for resolution of IDs to filenames52 */53 54 50 55 51 public class Cache { … … 353 349 * read counter-integer from file in cache 354 350 * or start that file 355 * @return 351 * @return The current maximum cache counter 356 352 */ 357 353 public Integer initCachecounter() {
Note: See TracChangeset
for help on using the changeset viewer.