Hi Anton,
Here's the full configuration.
==========This is my grid config================
IgniteConfiguration cfg = new IgniteConfiguration();
cfg.setPeerClassLoadingEnabled(false);
cfg.setLifecycleBeans(new LogLifecycleBean());
TcpDiscoverySpi discoverySpi = new TcpDiscoverySpi();
TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryVmIpFinder();
Collection<String> addressSet = new HashSet<>();
for (String address : ipList) {
addressSet.add(address);
}
ipFinder.setAddresses(addressSet);
discoverySpi.setJoinTimeout(10000);
discoverySpi.setLocalPort(47500);
discoverySpi.setIpFinder(ipFinder);
cfg.setDiscoverySpi(discoverySpi);
====And this is the cache config=====.
CacheConfiguration<String, String> cc = new CacheConfiguration();
cc.setName("mycache");
cc.setBackups(1);
cc.setCacheMode(CacheMode.PARTITIONED);
cc.setAtomicityMode(CacheAtomicityMode.ATOMIC);
LruEvictionPolicy evpl = new LruEvictionPolicy();
Evpl.setMaxMemorySize (10000);
cc.setEvictionPolicy(evpl);
cc.setExpiryPolicyFactory(CreatedExpiryPolicy.factoryOf(
new Duration(TimeUnit.SECONDS, 15)));
cc.setStatisticsEnabled(true);
-----Original Message-----
From: akurbanov [mailto:[email protected]]
Sent: Tuesday, October 02, 2018 1:45 PM
To: [email protected]
Subject: Re: LRU Evicts Most Recent Entries
This email is from an external source - exercise caution regarding links and
attachments.
Hello,
Could you please share full Ignite configuration?
Regards,
Anton
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/