[infinispan-issues] [JBoss JIRA] (ISPN-694) Create expiration notification for in-memory cache entries

Dan Berindei (JIRA) issues at jboss.org
Thu Apr 3 03:23:13 EDT 2014


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

Dan Berindei commented on ISPN-694:
-----------------------------------

[~william.burns] for now, remote gets are sent to all the owners, so unless all the get requests are coming from the primary owner, the other owners will see some activity on the key. But maxIdle with numOwners != 1 will become pointless once we introduce staggered gets (I still have the branch in my repo!)

With lifespan there are consistency problems as well: the exact moment the entry is created depends on the node, so it will expire at different times on different nodes. But I guess nobody that cares about consistency uses lifespan and/or maxIdle (except maybe [~pferraro]).
                
> Create expiration notification for in-memory cache entries
> ----------------------------------------------------------
>
>                 Key: ISPN-694
>                 URL: https://issues.jboss.org/browse/ISPN-694
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Eviction
>         Environment: any
>            Reporter: Edouard Boily
>            Assignee: Galder Zamarreño
>         Attachments: 01.patch
>
>
> Create a CacheEntryExpired notification and make EvictionManager send this notification when a cache entry is evicted because it is expired.
> Also mage sure the cache entry value is sent over in the event.
> CacheEntryEvicted notification should also send the entry value in the event.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list