In Ehcache 2 I used
Cache<String, Release> releaseCache = cacheManager.getCacheNames();
But in Ehcache 3 although I have a CacheManager the getCacheNames() method does not exist.
Yes indeed. It does not exist. You have these solutions:
EhCacheManager.caches
CacheManager.getCacheNames