[
https://jira.jboss.org/browse/ISPN-694?page=com.atlassian.jira.plugin.sys...
]
Galder Zamarreño commented on ISPN-694:
---------------------------------------
CacheEntryExpiredEvent sounds good to me.
In terms of passing the entry value, this should work like CacheEntryRemovedEvent
(
http://docs.jboss.org/infinispan/4.1/apidocs/org/infinispan/notifications...):
"The getValue() method would return the old value prior to deletion, if isPre() is
true. If isPre() is false, getValue() will return null."
Haven't checked the patch but can you verify it works this way?
Create Expiration Notification
------------------------------
Key: ISPN-694
URL:
https://jira.jboss.org/browse/ISPN-694
Project: Infinispan
Issue Type: Feature Request
Components: Eviction
Affects Versions: 4.1.0.Final
Environment: any
Reporter: Edouard Boily
Assignee: Manik Surtani
Fix For: 4.2.0.Final
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 contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira