pike.git / lib / modules / Cache.pmod / Data.pike

version» Context lines:

pike.git/lib/modules/Cache.pmod/Data.pike:1:   /*    * Base storage-object for the cache system    * by Francesco Chemolli <kinkie@roxen.com>    */    - //! Base storage-object for the cache system. + //! Base stored object for the cache system.      #pike __REAL_VERSION__      int atime=0; //! last-access time.   int ctime=0; //! creation-time   int etime=0; //! expiry-time (if supplied). 0 otherwise   float cost=1.0; //! relative preciousness scale      void touch() { //used by the Storage Manager mainly.    atime=time(1);