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

Listeners have no way to ignore a previous old value

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: