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

Extend KeyFilter facility to the whole cache

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • 6.0.0.CR1
    • Core
    • None

    Description

      The key filter facility is very convenient for users who have multiple key types in the same cache. It would be very handy if this feature were extended to the whole cache.
      e.g.

      Cache<?, ?> cache = ...;
      KeyFilter filter = ...;
      Cache<K, V> view = cache.filter(filter);
      view.addListener(listener) // Equivalent to the current cache.addListener(listener, filter) method
      for (Map.Entry<K, V> entry: view.entrySet()) {
      ...
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            pferraro@redhat.com Paul Ferraro
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: