Ignore:
Timestamp:
04/22/11 20:11:04 (13 years ago)
Author:
vronk
Message:

changes in recordset display, query_detail; adding documenting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/Cache.java

    r1155 r1234  
    3939 * This is a rudimentary caching mechanism.
    4040 * 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>
    4247 * @author master
    4348 *
     
    95100       
    96101        /**
    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
    103121         * @return
    104122         */
Note: See TracChangeset for help on using the changeset viewer.