Product Documentation : Ehcache Configuration Guide : System Properties : Special System Properties
Special System Properties
net.sf.ehcache.disabled
Setting this system property to true (using java -Dnet.sf.ehcache.disabled=true in the Java command line) disables caching in ehcache. If disabled, no elements can be added to a cache (puts are silently discarded).
net.sf.ehcache.use.classic.lru
When LRU is selected as the eviction policy, set this system property to true (using java -Dnet.sf.ehcache.use.classic.lru=true in the Java command line) to use the older LruMemoryStore implementation. This is provided for ease of migration.
Copyright © 2014 Software AG, Darmstadt, Germany.

Product Logo |   Feedback