cfg.setWakeupInterval(1000);
cfg.setDefaultEventQueueSize(200000);
EvictionRegionConfig region1 = new EvictionRegionConfig();
region1.setRegionFqn(Fqn.ROOT);
LRUAlgorithmConfig epc1 = new LRUAlgorithmConfig();
epc1.setMaxNodes(5000);
epc1.setTimeToLive(3000);
region1.setEvictionAlgorithmConfig(epc1);
cfg.setDefaultEvictionRegionConfig(region1);
EvictionRegionConfig region2 = new EvictionRegionConfig();
region2.setRegionFqn(base);
LRUAlgorithmConfig epc2 = new LRUAlgorithmConfig();
epc2.setMaxNodes(100);
epc2.setTimeToLive(3000);
region2.setEvictionAlgorithmConfig(epc2);
cfg.addEvictionRegionConfig(region2);
return cfg;
}