Package io.quarkus.cache.runtime
Class CacheManagerImpl
java.lang.Object
io.quarkus.cache.runtime.CacheManagerImpl
- All Implemented Interfaces:
CacheManager
This class is registered as an
ApplicationScoped synthetic bean at build time.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CacheManagerImpl
-
-
Method Details
-
getCacheNames
Description copied from interface:CacheManagerGets a collection of all cache names.- Specified by:
getCacheNamesin interfaceCacheManager- Returns:
- names of all caches
-
getCache
Description copied from interface:CacheManagerGets the cache identified by the given name.- Specified by:
getCachein interfaceCacheManager- Parameters:
name- cache name- Returns:
- an
Optionalcontaining the identified cache if it exists, or an emptyOptionalotherwise
-