does anybody have a sample on how to call setEvictionPolicyConfig?
Trick is to construct the Element for the eviction policy config. Other than that, it should be just a plain call like,
...
cache.setEvictionPolocyConfig(element);
cache.start();
If you can contribute the snippet, I can put it into FAQ. :-)
-Ben