- Timestamp:
- 04/22/11 20:11:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/Cache.java
r1155 r1234 39 39 * This is a rudimentary caching mechanism. 40 40 * serializes the inputstream to a file (identifier => filename) 41 * and returns the inpustream based on the identifier 41 * and returns the inpustream based on the identifier. 42 * 43 * It maintains the cache_index (persisted as xml-file in the cache-folder) 44 * mapping the request parameters to the indexed files. 45 * 46 * This is an internal object, direct user access to cache-data via interface is only possible via <code>AdminAction</code> 42 47 * @author master 43 48 * … … 95 100 96 101 /** 97 * here the external key for the data gets cache-internal counter-id assigned 98 * which is also returned back 99 * can be used (as shorthand instead of the (long) external key) from outside to retrieve the data. 100 * This is primarily meant to be able to reuse the recordset-data, when reading one record. 101 * @param id 102 * @param instream 102 * Here the external key for the data gets cache-internal counter-id assigned 103 * which is also returned back. 104 * 105 * The external key gets parsed and put as individual attributes in the <f>-element: 106 * 107 * <code> 108 * <f collection="" date="2011-04-20 01:06:50" duration="0.227" id="3" lang="en" 109 * maxDepth="1" 110 * maximumItems="" 111 * query="" 112 * repository="localhost-mirror" 113 * squery="" 114 * startItem="" 115 * type="collections"/> 116 </code> 117 * 118 * 119 * @param key_info a complex string carrying all relevant parameters 120 * @param instream data to be stored 103 121 * @return 104 122 */
Note: See TracChangeset
for help on using the changeset viewer.