Uses of Class
com.github.benmanes.caffeine.jcache.CacheProxy
-
Packages that use CacheProxy Package Description com.github.benmanes.caffeine.jcache com.github.benmanes.caffeine.jcache.integration com.github.benmanes.caffeine.jcache.management -
-
Uses of CacheProxy in com.github.benmanes.caffeine.jcache
Subclasses of CacheProxy in com.github.benmanes.caffeine.jcache Modifier and Type Class Description class
LoadingCacheProxy<K,V>
An implementation of JSR-107Cache
backed by a Caffeine loading cache.Fields in com.github.benmanes.caffeine.jcache with type parameters of type CacheProxy Modifier and Type Field Description private java.util.Map<java.lang.String,CacheProxy<?,?>>
CacheManagerImpl. caches
Methods in com.github.benmanes.caffeine.jcache that return CacheProxy Modifier and Type Method Description CacheProxy<K,V>
CacheFactory.Builder. build()
Creates a configured cache.static <K,V>
CacheProxy<K,V>CacheFactory. createCache(javax.cache.CacheManager cacheManager, java.lang.String cacheName, javax.cache.configuration.Configuration<K,V> configuration)
Returns a fully constructed cache based on the cache<K,V>
CacheProxy<K,V>CacheManagerImpl. getCache(java.lang.String cacheName)
private CacheProxy<K,V>
CacheFactory.Builder. newCacheProxy()
Creates a cache that does not read through on a cache miss.private CacheProxy<K,V>
CacheFactory.Builder. newLoadingCacheProxy()
Creates a cache that reads through on a cache miss.static <K,V>
@Nullable CacheProxy<K,V>CacheFactory. tryToCreateFromExternalSettings(javax.cache.CacheManager cacheManager, java.lang.String cacheName)
Returns a newly created cache instance if a definition is found in the external settings file. -
Uses of CacheProxy in com.github.benmanes.caffeine.jcache.integration
Fields in com.github.benmanes.caffeine.jcache.integration declared as CacheProxy Modifier and Type Field Description private CacheProxy<K,V>
JCacheLoaderAdapter. cache
Methods in com.github.benmanes.caffeine.jcache.integration with parameters of type CacheProxy Modifier and Type Method Description void
JCacheLoaderAdapter. setCache(CacheProxy<K,V> cache)
Sets the cache instance that was created with this loader. -
Uses of CacheProxy in com.github.benmanes.caffeine.jcache.management
Methods in com.github.benmanes.caffeine.jcache.management with parameters of type CacheProxy Modifier and Type Method Description static void
JmxRegistration. unregisterMXBean(CacheProxy<?,?> cache, JmxRegistration.MBeanType type)
Unregisters the JMX management bean for the cache.
-