| 程序包 | 说明 |
|---|---|
| icu.develop.l2cache | |
| icu.develop.l2cache.interceptor |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CaffeineL2Cache
Description:
Caffeine 缓存
|
class |
DelegateL2Cache
Description:
代理缓存
|
class |
RedisL2Cache
Description:
|
| 限定符和类型 | 字段和说明 |
|---|---|
private L2Cache |
DelegateL2Cache.delegate |
private L2Cache |
CaffeineL2Cache.delegate |
| 限定符和类型 | 字段和说明 |
|---|---|
private static ConcurrentHashMap<String,L2Cache> |
L2CacheManager.CACHE_MAP
缓存Map
|
| 限定符和类型 | 方法和说明 |
|---|---|
static L2Cache |
L2CacheManager.getCache()
获取缓存
|
static L2Cache |
L2CacheManager.getCache(String cacheName)
获取缓存
|
L2Cache |
RedisL2Cache.newCache(String name) |
L2Cache |
L2Cache.newCache(String name)
克隆二级缓存
|
L2Cache |
DelegateL2Cache.newCache(String name) |
L2Cache |
CaffeineL2Cache.newCache(String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
L2CacheManager.putCache(String cacheName,
L2Cache cache)
注册二级缓存
|
| 构造器和说明 |
|---|
CaffeineL2Cache(L2Cache delegate,
long duration) |
DelegateL2Cache(L2Cache delegate) |
| 限定符和类型 | 字段和说明 |
|---|---|
private Collection<? extends L2Cache> |
L2CacheAspectSupport.L2CacheOperationContext.caches |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Collection<? extends L2Cache> |
L2CacheAspectSupport.L2CacheOperationContext.getCaches() |
protected Collection<? extends L2Cache> |
L2CacheAspectSupport.getCaches(L2CacheOperationInvocationContext<L2CacheOperation> context,
L2CacheResolver cacheResolver) |
Collection<? extends L2Cache> |
L2CacheResolver.resolveCaches(L2CacheOperationInvocationContext<?> context) |
Collection<? extends L2Cache> |
DefaultL2CacheResolver.resolveCaches(L2CacheOperationInvocationContext<?> context) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
L2CacheAspectSupport.doClear(L2Cache cache) |
protected void |
L2CacheAspectSupport.doEvict(L2Cache cache,
String key) |
| 限定符和类型 | 方法和说明 |
|---|---|
private Collection<String> |
L2CacheAspectSupport.L2CacheOperationContext.createCacheNames(Collection<? extends L2Cache> caches) |
Copyright © 2023. All rights reserved.