Re: Extending the cache functionality

From: Gili (cowwo..bs.darktech.org)
Date: Mon Aug 29 2005 - 08:33:54 EDT

  • Next message: Andrus Adamchik: "Re: Modifying modeler GUI"

    Andrus Adamchik wrote:
    > On Aug 29, 2005, at 1:14 AM, Gili wrote:
    >
    >> I can quite easily extend our LRU map to add TTL and max-idle
    >> values per entries stores within. In my application, for example, I
    >> want to be able to say that image objects should be cached for a
    >> maximum of 5 minutes.
    >
    > TTL would be cool. When you are talking about TTL, you mean a fixed
    > time SINCE "put" was called, regardless of how recently "get" was
    > called on this entry?

            Right.

    > BTW, making cache map class fully declarative should be fairly easy -
    > we may define a new property understood by DataRowStore that holds a
    > Map class and create it via reflection.

            What does it mean for the cache map to be "fully declarative"?

    Thanks,
    Gili



    This archive was generated by hypermail 2.0.0 : Mon Aug 29 2005 - 08:33:55 EDT