I have a requirements for TTL = 15 min and keep a near cache for no more then 5000 entries.
I understand that for near cache, I will need to do a client overwrite and define the either LRU or LFU evictors.
In the wxs documentation, all example with defining the client side evictors, overwrite the TTL as well:
<backingMap name="map1" ttlEvictorType="NONE" pluginCollectionRef="LRU" />
Can I have BOTH?
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
1 reply Latest Post - 2013-03-05T19:07:25Z by jhanders
Pinned topic Question about evictors and near cache
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-03-05T19:07:25Z at 2013-03-05T19:07:25Z by jhanders
jhanders 1200009V3S257 PostsACCEPTED ANSWER
Re: Question about evictors and near cache2013-03-05T19:07:25Z in response to MikeZilbergleytMike,
You can have both TTL eviction and another evictor as well in your client side, or you can have TTL on your server and an LRU or LFU evictor on your client. Evictors only interact with the entries in their tier. Eviction on a client does not cause eviction on the server.
I hope that answers your question.