Product Documentation : Ehcache Operations Guide : Shutting Down Ehcache : About Shutdown
About Shutdown
Ehcache is shut down through the Ehcache API. Note that Hibernate automatically shuts down its Ehcache CacheManager.
The recommended way to shutdown Ehcache is:
*To call CacheManager.shutdown()
*In a web app, register the Ehcache ShutdownListener
Though not recommended, you can also register a JVM shutdown hook.
Copyright © 2010-2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product Logo |   Feedback