• New Feature
  • Status: Closed
  • 0 Showstopper
  • Resolution: Fixed
  • ehcache-core,ehcache-terracotta
  • hsingh
  • Reporter: amiller
  • December 09, 2009
  • 0
  • Watchers: 0
  • January 17, 2013
  • January 20, 2010

Description

This is a new feature for Ehcache to allow dynamically changing the following properties:

  • timeToIdleSeconds
  • timeToLiveSeconds
  • maxElementsInMemory
  • maxElementsOnDisk

Elements with custom TTI and TTL should not be affected by dynamic changes of the cache-wide TTI or TTL. The API for these changes is to get the CacheConfiguration from the Ehcache instance and modify it’s properties.

Comments

Chris Dennis 2010-01-20

EhCache instances can now change these properties dynamically by calling the relevant setter on the caches CacheConfiguration instance.

Himadri Singh 2010-02-22

Verified in build-revision = 1888