pike.git / lib / modules / Cache.pmod / Storage.pmod / Memory.pike

version» Context lines:

pike.git/lib/modules/Cache.pmod/Storage.pmod/Memory.pike:1:   /*    * A RAM-based storage manager.    * by Francesco Chemolli <kinkie@roxen.com>    * (C) 2000 Roxen IS    * -  * $Id: Memory.pike,v 1.2 2000/07/05 21:37:25 kinkie Exp $ +  * $Id: Memory.pike,v 1.3 2000/09/26 18:59:13 hubbe Exp $    *    * This storage manager provides the means to save data to memory.    * In this manager I'll add reference documentation as comments to    * interfaces. It will be organized later in a more comprehensive format    *    * Settings will be added later.    */    -  + #pike __VERSION__ +    class Data {       inherit Cache.Data;       int _size=0;    mixed _data=0;       void create(void|mixed value, void|int abs_expire_time,    void|float preciousness) {    _data=value;