using ehcache for statistics cache.