| 程序包 | 说明 |
|---|---|
| org.noear.solon.data.cache |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
CacheTagsService
支持标签的缓存服务
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CacheTagsServiceImpl
支持标签的缓存服务实现
|
class |
LocalCacheService
默认缓存服务
|
class |
SecondCacheService
二级缓存服务
|
| 限定符和类型 | 字段和说明 |
|---|---|
static CacheService |
LocalCacheService.instance |
| 限定符和类型 | 方法和说明 |
|---|---|
static CacheService |
CacheLib.cacheServiceGet(String name)
获取缓存服务
|
CacheService |
CacheFactory.create(Properties props)
创建缓存服务
|
CacheService |
LocalCacheFactoryImpl.create(Properties props) |
CacheService |
CacheServiceSupplier.get() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Map<String,CacheService> |
CacheLib.cacheServiceMap()
缓存服务集合;只读
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
CacheLib.cacheServiceAdd(String name,
CacheService cs)
添加缓存服务
|
static void |
CacheLib.cacheServiceAddIfAbsent(String name,
CacheService cs)
添加缓存服务
|
| 构造器和说明 |
|---|
CacheTags(CacheService caching) |
CacheTagsServiceImpl(CacheService caching) |
SecondCacheService(CacheService cache1,
CacheService cache2) |
SecondCacheService(CacheService cache1,
CacheService cache2,
int bufferSeconds) |
Copyright © 2023. All rights reserved.