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

Listeners have no way to ignore a previous old value

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 15.0.0.Final
    • 14.0.17.Final
    • Listeners
    • None

      A listener can register a filter and converter to allow for filtering an event completely or converting the value to a new value. However, an event can contain both an old and new value. The converter can allow a user to convert the new value to whatever they would like. However the old value will still be present in the event. This is fine for local events, but a for clustered event this old value is shipped to the remote node.

      We should change the CacheEventFilterConverter to optionally not return the old value which can be used to reduce payload sizes. This is especially beneficial for near cache which doesn't care about either old or new value at all.

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: