Neither EntryListener.entryEvicted nor EntryListener.entryRemoved called on TTL eviction

9 views
Skip to first unread message

Russell

unread,
Oct 29, 2009, 11:34:14 AM10/29/09
to Hazelcast
Hi,
I have configured a Map with TTL of 15 seconds. I have written a unit
test that checks that the items are expunged after the TTL (and they
are). I added an EntryListener to assert when the entries are TTL'd
out and no events are called on it.

Is this expected? Does TTL removal from the Map not fire an eviction
or removal event?

Cheers

Russell

Talip Ozturk

unread,
Oct 30, 2009, 8:09:32 AM10/30/09
to haze...@googlegroups.com
Sounds like a bug in Evic Event. I created an issue for it:
http://code.google.com/p/hazelcast/issues/detail?id=156

Fix is on the way.
-talip
Reply all
Reply to author
Forward
0 new messages