cache.getConfiguration().setIsolationLevel(IsolationLevel.SERIALIZABLE);
cache.getConfiguration().setCacheMode("LOCAL");
EvictionConfig ec = new EvictionConfig();
List<EvictionRegionConfig> ercs = new LinkedList<EvictionRegionConfig>();
ercs.add(new EvictionRegionConfig(Fqn.ROOT, new DummyEvictionConfiguration()));
ercs.add(new EvictionRegionConfig(Fqn.fromString("/a/b/c"), new DummyEvictionConfiguration()));
ercs.add(new EvictionRegionConfig(Fqn.fromString("/a/b/c/d"), new DummyEvictionConfiguration()));
ercs.add(new EvictionRegionConfig(Fqn.fromString("/a/b"), new DummyEvictionConfiguration()));
ercs.add(new EvictionRegionConfig(Fqn.fromString("/d/e/f"), new DummyEvictionConfiguration()));
ercs.add(new EvictionRegionConfig(Fqn.fromString("/d/e/g"), new DummyEvictionConfiguration()));
ercs.add(new EvictionRegionConfig(Fqn.fromString("/d/e"), new DummyEvictionConfiguration()));
ec.setEvictionRegionConfigs(ercs);
cache.getConfiguration().setEvictionConfig(ec);
cache.start();