| 程序包 | 说明 |
|---|---|
| org.springframework.cache | |
| org.springframework.cache.caffeine | |
| org.springframework.cache.support |
| 限定符和类型 | 方法和说明 |
|---|---|
Cache |
CacheManager.getCache(String name)
Get the cache associated with the given name.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CaffeineCache
Spring
Cache adapter implementation
on top of a Caffeine Cache instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Cache |
CaffeineCacheManager.adaptCaffeineCache(String name,
com.github.benmanes.caffeine.cache.Cache<Object,Object> cache)
Adapt the given new native Caffeine Cache instance to Spring's
Cache
abstraction for the specified cache name. |
protected Cache |
CaffeineCacheManager.createCaffeineCache(String name)
Build a common
CaffeineCache instance for the specified cache name,
using the common Caffeine configuration specified on this cache manager. |
Cache |
CaffeineCacheManager.getCache(String name) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractValueAdaptingCache
Common base class for
Cache implementations that need to adapt
null values (and potentially other such special values) before
passing them on to the underlying store. |
Copyright © 2022. All rights reserved.