| 程序包 | 说明 |
|---|---|
| org.tio.utils.cache.caffeineredis | |
| org.tio.utils.cache.guavaredis | |
| org.tio.utils.cache.redis |
| 构造器和说明 |
|---|
CaffeineRedisCache(String cacheName,
CaffeineCache caffeineCache,
RedisCache redisCache) |
| 构造器和说明 |
|---|
GuavaRedisCache(String cacheName,
GuavaCache guavaCache,
RedisCache redisCache) |
| 限定符和类型 | 方法和说明 |
|---|---|
static RedisCache |
RedisCache.getCache(String cacheName) |
static RedisCache |
RedisCache.register(org.redisson.api.RedissonClient redisson,
String cacheName,
Long timeToLiveSeconds,
Long timeToIdleSeconds)
timeToLiveSeconds和timeToIdleSeconds不允许同时为null
|
Copyright © 2019. All rights reserved.