Package io.quarkus.cache.runtime
Class CacheManagerImpl
- java.lang.Object
-
- io.quarkus.cache.runtime.CacheManagerImpl
-
- All Implemented Interfaces:
CacheManager
public class CacheManagerImpl extends Object implements CacheManager
This class is registered as an @ApplicationScoped synthetic bean at build time.
-
-
Constructor Summary
Constructors Constructor Description CacheManagerImpl(Map<String,Cache> caches)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<Cache>
getCache(String name)
Set<String>
getCacheNames()
-
-
-
Method Detail
-
getCacheNames
public Set<String> getCacheNames()
- Specified by:
getCacheNames
in interfaceCacheManager
-
getCache
public Optional<Cache> getCache(String name)
- Specified by:
getCache
in interfaceCacheManager
-
-