Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2223

JCacheQueryCache - a query cache provider to plug in JCache implementers

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.M5
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: