| Package | Description |
|---|---|
| org.tio.utils.cache.caffeineredis | |
| org.tio.utils.cache.guavaredis | |
| org.tio.utils.cache.redis |
| Constructor and Description |
|---|
CaffeineRedisCache(String cacheName,
CaffeineCache caffeineCache,
RedisCache redisCache) |
| Constructor and Description |
|---|
GuavaRedisCache(String cacheName,
GuavaCache guavaCache,
RedisCache redisCache) |
| Modifier and Type | Method and Description |
|---|---|
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 © 2021. All rights reserved.