0 Replies Latest reply on Jul 26, 2005 4:25 PM by Nimrod Rivier

    Hierarchical cache, limited memory+disk

    Nimrod Rivier Newbie

      Can you please advise me on how to configure a cache with the following configuration:
      1. The most commonly accessed members of the cache are stored in memory, less accessed members are stored on a disk
      2. The size of memory allocated for cached objects is limited (preferably by specifying the amount of storage, but other methods will do).
      3. When the program is about to stop, it is should be possible to flush all the objects that are currently in memory to the disk
      4. It should be possible to query the cache for all the objects that have not been referenced for more than a certain time.