[infinispan-issues] [JBoss JIRA] Commented: (ISPN-312) Ability to group data entries
Erik Salter (JIRA)
jira-events at lists.jboss.org
Fri May 20 15:05:01 EDT 2011
[ https://issues.jboss.org/browse/ISPN-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603501#comment-12603501 ]
Erik Salter commented on ISPN-312:
----------------------------------
How would you handle the following case?
Cache A uses a custom key class where the group is dynamically generated. Cache B's key is an unmodifiable String that needs to be grouped with the dynamic value of a key from Cache A. (Cache B's key can't be encapsulated in a custom key class since it needs to be queried from external entities that will not know the group context).
The only way I can see doing this is to add a group parameter to a put() or replace() method.
> Ability to group data entries
> -----------------------------
>
> Key: ISPN-312
> URL: https://issues.jboss.org/browse/ISPN-312
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core API, Distributed Cache, Eviction, Locking and Concurrency
> Affects Versions: 4.0.0.Final, 4.1.0.Final
> Reporter: Mindaugas Žakšauskas
> Assignee: Pete Muir
> Priority: Minor
> Labels: cache, colocation, group, grouping
> Fix For: 5.1.0.BETA1
>
>
> This is a spin-off from http://lists.jboss.org/pipermail/infinispan-dev/2009-December/001968.html.
> The requested feature would allow distinct entries to be assigned to custom arbitrary groups. Later in time those groups could be flushed on demand without any knowledge of entry keys.
> This feature exists in other open source cache library, see: http://www.opensymphony.com/oscache/api/com/opensymphony/oscache/base/Cache.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list