ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hitesh <hiteshnandwan...@gmail.com>
Subject Re: Evictions started (cache may have reached its capacity). You may wish to increase 'maxSize' on eviction policy being used for cache
Date Wed, 03 Jan 2018 10:51:00 GMT
Here its my cache configuration,

CacheConfiguration<String, WebSocketClient> cacheCfg = new
			cacheCfg.setEvictionPolicy(new FifoEvictionPolicy<>(2));
		       cacheCfg.setCacheMode(CacheMode.PARTITIONED); // Default.
			cacheCfg.setIndexedTypes(String.class, WebSocketClient.class);
i have set max size 2 entries,when i am trying to put another entry its
showing eviction policy started ,but when i query its returning all 3
entries in the cache instead of recent two entries.

Sent from: http://apache-ignite-users.70518.x6.nabble.com/

View raw message