You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2017/02/10 14:40:42 UTC

[jira] [Closed] (CAY-2223) JCacheQueryCache - a query cache provider to plug in JCache implementers

     [ https://issues.apache.org/jira/browse/CAY-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikita Timofeev closed CAY-2223.
--------------------------------
    Resolution: Fixed

Implemented per https://github.com/apache/cayenne/commit/4365a8f948ab1d74bd547153b203bc1d5b9dadbb

> JCacheQueryCache - a query cache provider to plug in JCache implementers
> ------------------------------------------------------------------------
>
>                 Key: CAY-2223
>                 URL: https://issues.apache.org/jira/browse/CAY-2223
>             Project: Cayenne
>          Issue Type: Task
>            Reporter: Andrus Adamchik
>            Assignee: Nikita Timofeev
>             Fix For: 4.0.M5
>
>
> JCache is becoming a de-facto standard for Java caching (EhCache and many others implement it). It has its own pluggabilty mechanism via ServiceProvider. So if we give users an easy way to hook up JCache, they can add the actual providers just by adding them to classpath. 
> So I am thinking of a cayenne-jcache auto-loadable module. The contents of JCacheQueryCache can be borrowed from Bootique [1].
> We need to configuration options:
> * Cayenne bootstraps JCache 
> * Application bootstraps JCache and hangs it to Cayenne.
> [1] https://github.com/bootique/bootique-cayenne/blob/master/bootique-cayenne-jcache/src/main/java/io/bootique/cayenne/jcache/JCacheQueryCache.java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)