Re: [CONF] Apache Cayenne Documentation: Caching and Fresh Data (page edited)

From: Aristedes Maniatis (ar..aniatis.org)
Date: Fri Oct 17 2008 - 22:12:23 EDT

  • Next message: Andrus Adamchik: "Re: [CONF] Apache Cayenne Documentation: Caching and Fresh Data (page edited)"

    On 18/10/2008, at 12:24 AM, confluenc..pache.org wrote:

    > I think a lot of info on this page was misleading. Now that I've
    > been working on CAY-1127, I figured I'd remove things that look
    > dubious... Still need to write a decent caching chapter.

    That's pretty slash and burn... I think that perhaps some useful bits
    of information got lost in that edit. For example:

    > This cache is defined on per application basis in the [Cayenne model
    > | configuring caching behavior]. A single number configured in the
    > model defines the total number of records (of every type of entity)
    > which can be stored within the cache.

    Is that no longer the case? If we bring this text back, I'll add a
    small screenshot.

    > Query caches can be shared between all the queries within the
    > context (LOCAL_CACHE) or between contexts (SHARED_CACHE).
    > SHARED_CACHE does not work in ROP Cayenne.
    >
    > Behind the scenes, for a LOCAL_CACHE Cayenne stores objects or
    > DataRows (depending on which kind the query fetched), and for a
    > SHARED_CACHE it stores DataRows which are converted to the target
    > context objects on every cache hit.

    Is this now incorrect?

    > Refresh query is still being developed and further information can
    > be found [here | refreshquery].

    We lost the link to the refresh query page without this text.

    Unless you have an objection I'd like to try rewriting that page.
    Please let me know if anything of the above text is incorrect.

    Ari

    -------------------------->
    Aristedes Maniatis
    phone +61 2 9660 9700
    PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8



    This archive was generated by hypermail 2.0.0 : Fri Oct 17 2008 - 22:13:14 EDT