-
Sub-task
-
Resolution: Done
-
Major
-
5.2.0.Final
-
None
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.
- is related to
-
ISPN-881 A listener which receives CacheEntryCreatedEvent + CacheEntryModifiedEvent events always has a null value after a Cache.put while a Cache.put which replaces delivers the actual value.
- Resolved