[jboss-jira] [JBoss JIRA] (WFLY-5327) Support simple cache configuration in Infinispan subsystem
Paul Ferraro (JIRA)
issues at jboss.org
Thu Nov 12 11:26:00 EST 2015
[ https://issues.jboss.org/browse/WFLY-5327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128403#comment-13128403 ]
Paul Ferraro commented on WFLY-5327:
------------------------------------
On second thought, this does not warrant a new top-level cache element. We we construct the local cache configuration, we can simply enable the simple cache optimization if the specified cache configuration fits the criteria, i.e. non-transactional, non-persistent, etc.
> Support simple cache configuration in Infinispan subsystem
> ----------------------------------------------------------
>
> Key: WFLY-5327
> URL: https://issues.jboss.org/browse/WFLY-5327
> 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