|
Boost : |
From: Rainer Deyke (root_at_[hidden])
Date: 2002-03-11 20:32:37
----- Original Message -----
From: "rogeeff" <rogeeff_at_[hidden]>
> I am using manager algorithms (Policy) for this purposes. Every time
> I need to make a decision what/when to flush/load I call appropriate
> methods of manager algorithm class. You could apply something like
> this here.
Interesting. I thought about offloading some of that logic to a
policy class, but I haven't come up with an interface that gives the
policy all of the information it needs without compromising the
encapsulation of the cache. Could you give more details?
-- Rainer Deyke | root_at_[hidden] | http://rainerdeyke.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk