Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1905

Support simple cache optimization in Infinispan subsystem

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR8
    • 7.0.0.DR12
    • Clustering
    • None

      Infinispan 8.0.1.Final includes a new simple cache, that is effectively a local cache without an interceptor stack, and thus without support for transactions, persistence, etc.

      Unfortunately, the configuration of such a cache in Infinispan is sloppy. A simple cache is configured by a single boolean attribute, which of course means that all kinds of invalid configuration combinations are possible. Ideally, a simple cache configuration should only expose relevant configuration aspects. I propose we create a new cache type like so:

      <simple-cache name="...">
         <eviction .../>
         <expiration .../>
      </simple-cache>
      

      The fact that this doesn't translate into a designated cache mode is irrelevant.

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: