Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-704

Make cache events generic where possible

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 4.2.0.ALPHA5, 4.2.0.Final
    • 4.2.0.ALPHA3
    • Listeners
    • None

      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.

              manik_jira Manik Surtani (Inactive)
              pferraro@redhat.com Paul Ferraro
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: