Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5327

Support simple cache optimization in Infinispan subsystem

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.CR5
    • 10.0.0.Beta2
    • 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:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: