16.2.4 Notes about terminating access to caches
The following notes apply to terminating access to caches:
-
To access a cache whose access has been terminated by removeCache() of the CacheManager class, issue getCache() of the CacheManager class.
-
removeCache() of the CacheManager class terminates access to all caches obtained with the same cache name specified (instances of the Cache class). Therefore, use removeCache() of the CacheManager class carefully when it is executed in multiple threads.