Make cache events generic where possible
----------------------------------------
Key: ISPN-704
URL:
https://jira.jboss.org/browse/ISPN-704
Project: Infinispan
Issue Type: Feature Request
Components: Listeners
Affects Versions: 4.2.0.ALPHA3
Reporter: Paul Ferraro
Assignee: Manik Surtani
Priority: Minor
It would be nice if the Cache events were generic, and save the user from needless
casting. e.g. CacheEntryActivatedEvent<K, V>
This would also further discourage users from fetching values from their own generic
Cache<K, V> rather than having to cast the values from the event or DataContainer (a
potential gotcha, see ISPN-703).
Type erasure should ensure that any current unparameterized usage is fully compatible.
--
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