]
Paul Ferraro updated WFLY-5327:
-------------------------------
Issue Type: Enhancement (was: Feature Request)
Support simple cache optimization in Infinispan subsystem
---------------------------------------------------------
Key: WFLY-5327
URL:
https://issues.jboss.org/browse/WFLY-5327
Project: WildFly
Issue Type: Enhancement
Components: Clustering
Affects Versions: 10.0.0.Beta2
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Fix For: 10.0.0.CR5
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.