Ehcache 2.10.6 | 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-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.