[jboss-jira] [JBoss JIRA] (WFLY-4146) Cache add operation should automatically create its child resources
Paul Ferraro (JIRA)
issues at jboss.org
Tue Apr 5 10:02:01 EDT 2016
[ https://issues.jboss.org/browse/WFLY-4146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186816#comment-13186816 ]
Paul Ferraro commented on WFLY-4146:
------------------------------------
[~Maxoid] JIRA is not the appropriate venue for support questions. Please use the forums.
To answer your question, you should inject your cache directly, e.g. @Resource(lookup="java:jboss/infinispan/cache/cacheContainer/test") Cache<K, V> cache;
> Cache add operation should automatically create its child resources
> -------------------------------------------------------------------
>
> Key: WFLY-4146
> URL: https://issues.jboss.org/browse/WFLY-4146
> Project: WildFly
> Issue Type: Enhancement
> Components: Clustering
> Affects Versions: 9.0.0.Alpha1
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Fix For: 10.0.0.Alpha6
>
>
> There is effectively no difference between the behavior of a cache that does not contain a given child resource (e.g. transaction, locking, etc) and one that contains the child resource, but with default attribute values.
> Consequently, the cache add operation should automatically create these resources (and the cache remove operation should automatically remove them). We can treat the child add operations as no-ops, and the child remove operations as a series of undefine-attribute operations.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list