| 限定符和类型 | 类和说明 |
|---|---|
class |
AbsCache |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T extends Serializable> |
CacheUtils.get(ICache cache,
String cacheKey,
boolean putTempToCacheIfNull,
FirsthandCreater<T> firsthandCreater)
根据cacheKey从缓存中获取对象,如果缓存中没有该key对象,则用firsthandCreater获取对象,并将对象用cacheKey存于cache中
|
static <T extends Serializable> |
CacheUtils.get(ICache cache,
String cacheKey,
FirsthandCreater<T> firsthandCreater)
根据cacheKey从缓存中获取对象,如果缓存中没有该key对象,则用firsthandCreater获取对象,并将对象用cacheKey存于cache中
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CaffeineCache |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CaffeineRedisCache |
| 限定符和类型 | 类和说明 |
|---|---|
class |
GuavaCache |
| 限定符和类型 | 类和说明 |
|---|---|
class |
GuavaRedisCache |
| 限定符和类型 | 类和说明 |
|---|---|
class |
J2Cache
红薯家的j2cache
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
RedisCache |
Copyright © 2018. All rights reserved.