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

Make cache events generic where possible

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
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: