I'm using ehcache (via the Grails plugin). The method that adds objects to the cache requires the keys to be serializable, so a typical usage would be:
I am interested in getting statistics on the Ehcache I have running.
I would like to see the number of hits/misses for a given key over a period of time. Perhaps in ...
My entity has two unique ids (yes this is wrong but it is a requirement). I want to organize a cache of such instances. The search in cache could be made ...
I used ehcache with ehcache-spring-annotations.
The first time, we choose HashCodeCacheKeyGenerator. It was pretty good.
but 1 month ago we found "key duplication".
So we replaced HashCodeCacheKeyGenerator with StringCacheKeyGenerator.
"key duplication" issue gone, but huge ...
Hi , this is a very urgent request . below is a thread dump identical on every client (t1) . It is causing the cpu to skyrocket. "1135764388@qtp-1033311210-557" prio=10 tid=0x00002aaac5b0f800 nid=0x4418 in Object.wait() [0x000000005ea25000] java.lang.Thread.State: BLOCKED (on object monitor) at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at com.tc.object.RemoteServerMapManagerImpl.waitForResult(RemoteServerMapManagerImpl.java:133) at com.tc.object.RemoteServerMapManagerImpl.getAllKeys(RemoteServerMapManagerImpl.java:107) - locked <0x000000079241b700> (a com.tc.object.RemoteServerMapManagerImpl) at com.tc.object.TCObjectServerMapImpl.keySet(TCObjectServerMapImpl.java:332) at com.terracotta.toolkit.collections.ConcurrentDistributedServerMapDso.keySet(ConcurrentDistributedServerMapDso.java:245) at com.terracotta.toolkit.util.ClusteredMapAggregateSet$ClusteredMapAggregateKeySet$1.getClusterMapIterator(ClusteredMapAggregateSet.java:40) at com.terracotta.toolkit.util.AggregateMapIterator.getNextIterator(AggregateMapIterator.java:14) ...