-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EntryListener.entryAdded() not called after IMap.evict() followed by IMap.get() #1542
Comments
Not sure if the entryAdded for the second time is needed. |
I see your point, but I what if I want to get notified if a entry IS in the cache. Maybe the update method could be fired.Patrizio Munzi On 10 Jan 2014, at 09:31, Enes Akar notifications@github.com wrote:
|
Well in your case it is something like an update since the real value still exists but is just evicted so an add should be an update. |
yes exactly, firing an update could work for me. Is it something you can add? On 10 Jan 2014, at 09:59, Christoph Engelbert notifications@github.com wrote:
|
I think not in a few minutes but it should answer someone with deeper knowledge of the eviction process. |
Ok, waiting for your feedback, thnx On 10 Jan 2014, at 10:06, Christoph Engelbert notifications@github.com wrote:
|
Another option is to have another event type - Loaded, when something is loaded from a map store. That way you'd be able to distinguish between all the events
|
related one #2407 |
…lcast#1542) * Move JobMetrics to own map to avoid querying during job cleanup * Change default number of results to store to 1,000
If I call the evict method on a key and then the get method on the same key the listener entryAdded method does not fire.
The text was updated successfully, but these errors were encountered: