Is there any way to modify/extend the eviction strategy?
From the wiki & Javadocs I understand that, extending the DataContainer would be the way to go. But, where do I plugin the new class??
There's no way to do that through the configuration at the moment. Mind creating a JIRA just for that?
I can suggest you a programatic approach, though:
DataContainer yourContainer = buildCustomContainer(); AdvancedCache ac = cache.getAdvancedCache(); ac.getComponentRegistry().registerComponent(yourContainer, DataContainer.class); ac.getComponentRegistry().rewire();
Your custom container should replace the existing container this way.
Thanks a lot Mircea, I'll log it in JIRA