The `addCache` method in the `net.sf.ehcache.CacheManager` class is used to add a new cache with a given name to the cache manager. This method creates and configures a new cache instance with default settings, and associates it with the cache manager. The newly created cache can be accessed and used for storing and retrieving data using the specified name.
Java CacheManager.addCache - 27 examples found. These are the top rated real world Java examples of net.sf.ehcache.CacheManager.addCache extracted from open source projects. You can rate examples to help us improve the quality of examples.