Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2639 Write an adaptor for the JSR 107 API
  3. ISPN-2766

Improve and adapt notification model to fit JSR107 notification model

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 5.3.0.Alpha1
    • 5.2.0.CR3
    • JCache, Listeners
    • None

    Description

      Out current notification (listener) model does not fit JSR 107 notification model and thus needs a slight adaptation in order to implement JSR 107.

      More specifically the problem is with JSR107 CacheEntryCreatedListener and CacheEntryExpiredListener.

      The first one is not easy to implement because we need both key/value pair for jsr listener and our CacheEntryCreatedEvent does not provide value.

      The second is related to CacheEntryExpired event. True, spec is not rigorous that such an event has to be fired immediately after an entry has expired but eventually (which might be on access). However, we do not have such an event at all as of now.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-galder Galder ZamarreƱo
              vblagoje Vladimir Blagojevic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: