Anybody knows how to switch off ehcache 3 in an application? (e.g. for testing purposes or fall back scenarios in production)
net.sf.ehcache.disabled=true
as described hereorg.ehcache.core.Ehcache
does not consist any disable functionallity<heap unit="MB">0</heap>
in ehcache.xml
in a valid option?There is no such thing in Ehcache 3 at the moment. JCache does not have that option either.
You cannot size a resource to 0
so that's not an option either.
From here, two options: