• New Feature
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • ehcache-core
  • hsingh
  • Reporter: foshea
  • April 01, 2010
  • 0
  • Watchers: 1
  • January 17, 2013
  • April 16, 2010

Description

Referring to EHC-669 where Greg mentions that we should think about adding the statistics=false attribute to cache by default.

Comments

Gary Keim 2010-04-13

I agree with that. I was a bit surprised to see it defaults to true.

Himadri Singh 2010-04-26

Verified in rev 2341

		CacheConfiguration  cacheConfiguration  = new CacheConfiguration("userCache", 1000);
		this.cache 	= new Cache(cacheConfiguration);
		this.cacheManager.addCache(cache);
		LOG.info("cache statistics enabled: " + cache.isStatisticsEnabled());

printed cache statistics enabled: false