[infinispan-issues] [JBoss JIRA] Commented: (ISPN-720) Replace CacheEntryEvictedEvent with CacheEntriesEvictedEvent (note the plural)

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Wed Jun 8 13:04:59 EDT 2011


    [ https://issues.jboss.org/browse/ISPN-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607236#comment-12607236 ] 

Galder Zamarreño commented on ISPN-720:
---------------------------------------

This could be extended further actually. Once you have pluralised the cache entries evicted notification, you could pluralise the cache entries passivated notification, cos both consume the same collection.

And taking this further, you could have CacheStore.store(Set<InternalCacheEntry> entries) passing all the entries to passivate. This would allow for implementations to find more efficient ways to store a number of entries at the same time rather than one by one. This is probably something for later...

> Replace CacheEntryEvictedEvent with CacheEntriesEvictedEvent (note the plural)
> ------------------------------------------------------------------------------
>
>                 Key: ISPN-720
>                 URL: https://issues.jboss.org/browse/ISPN-720
>             Project: Infinispan
>          Issue Type: Task
>          Components: Core API
>    Affects Versions: 4.2.0.Final
>            Reporter: Trustin Lee
>            Assignee: Galder Zamarreño
>             Fix For: 5.0.0.CR5, 5.0.0.FINAL
>
>
> CacheEntryEvictedEvent should be replaced with CacheEntriesEvictedEvent to fully utilize the improvements in EvictionListener (see ISPN-718).

--
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