You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the JCache API, there is no JCache-event to register a listener for EVICTED events.
The JCache spec is undefined regarding the notification on evictions, while requiring notifications on expiry.
According to this ehCache only implements the required events (EventListenerAdaptors.ehListenersFor).
Some other JCache implementations seem to have discussed/implemented delegating internal EVICTED event onto EXPIRED or REMOVED listeners.
Currently we need to unwrap the JCache to be able to directly add an ehCache-Eviction-Listener. This is cumbersome and kind of pollutes the JCache-API handling.
Has this topic already been discussed or is there a possibility to add Eviction-listener events through the JCache API to get notified about all?
Possibly though the configuration.xml?
The text was updated successfully, but these errors were encountered:
When using the JCache API, there is no JCache-event to register a listener for EVICTED events.
The JCache spec is undefined regarding the notification on evictions, while requiring notifications on expiry.
According to this ehCache only implements the required events (EventListenerAdaptors.ehListenersFor).
Some other JCache implementations seem to have discussed/implemented delegating internal EVICTED event onto EXPIRED or REMOVED listeners.
Currently we need to unwrap the JCache to be able to directly add an ehCache-Eviction-Listener. This is cumbersome and kind of pollutes the JCache-API handling.
Has this topic already been discussed or is there a possibility to add Eviction-listener events through the JCache API to get notified about all?
Possibly though the configuration.xml?
The text was updated successfully, but these errors were encountered: