[jboss-jira] [JBoss JIRA] (WFLY-5671) Support simple cache optimization in Infinispan subsystem

Paul Ferraro (JIRA) issues at jboss.org
Thu Nov 12 12:22:00 EST 2015


Paul Ferraro created WFLY-5671:
----------------------------------

             Summary: Support simple cache optimization in Infinispan subsystem
                 Key: WFLY-5671
                 URL: https://issues.jboss.org/browse/WFLY-5671
             Project: WildFly
          Issue Type: Feature Request
          Components: Clustering
    Affects Versions: 10.0.0.Beta2
            Reporter: Paul Ferraro
            Assignee: Paul Ferraro


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:
{code:xml}
<simple-cache name="...">
   <eviction .../>
   <expiration .../>
</simple-cache>
{code}

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



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list